Sony Addon SDK
public static interface

Registration.WidgetRegistrationColumns

This project is no longer being supported and will not get any further updates.

Class Overview

Column-definitions for the WidgetRegistration table

Summary

Constants
java.lang.String API_REGISTRATION_ID The ID of the API registration Registration.ApiRegistration with a host application that the widget can be shown on.
java.lang.String TYPE Specifies the widget type that the widget is for.
java.lang.String NAME Display name of the widget that may be shown in the settings.
java.lang.String WIDTH The width of the widget in pixels.
java.lang.String HEIGHT The height of the widget in pixels.
java.lang.String PREVIEW_IMAGE_URI The URI of a high resolution preview image that may show up in a settings screen on for example a phone or tablet.
java.lang.String KEY A key that can be used to identify the widget in the extension.
java.lang.String CATEGORY Specifies the category of the widget.

Constants

Added in API level 5.0 public static final java.lang.String API_REGISTRATION_ID

The ID of the API registration Registration.ApiRegistration with a host application that the widget can be shown on.

TYPE: INTEGER (long)

PRESENCE: REQUIRED

Constant Value: "apiRegistrationId"

Added in API level 5.0 public static final java.lang.String TYPE

Specifies the widget type that the widget is for. Should match the string the host application has specified in TYPE.

TYPE: TEXT

PRESENCE: REQUIRED

Constant Value: "type"

Added in API level 5.0 public static final java.lang.String NAME

Display name of the widget that may be shown in the settings.

TYPE: TEXT

PRESENCE: REQUIRED

Constant Value: "name"

Added in API level 5.0 public static final java.lang.String WIDTH

The width of the widget in pixels.

TYPE: INTEGER (int)

PRESENCE: REQUIRED

Constant Value: "width"

Added in API level 5.0 public static final java.lang.String HEIGHT

The height of the widget in pixels.

TYPE: INTEGER (int)

PRESENCE: REQUIRED

Constant Value: "height"

Added in API level 5.0 public static final java.lang.String PREVIEW_IMAGE_URI

The URI of a high resolution preview image that may show up in a settings screen on for example a phone or tablet. It should be a typical representation of the widget. It is recommended that the image has the same aspect ratio as the actual widget.

TYPE: TEXT

PRESENCE: REQUIRED

Constant Value: "previewImageUri"

Added in API level 5.0 public static final java.lang.String KEY

A key that can be used to identify the widget in the extension. This key is sent as an intent extra to the extension from the host application.

TYPE: TEXT

PRESENCE: OPTIONAL (REQUIRED if more than one widget is supported by the extension)

Constant Value: "key"

Added in API level 5.0 public static final java.lang.String CATEGORY

Specifies the category of the widget. Categories may be used to group widgets when presenting them to end-users so this property relates to how a widget is used, rather than its technical specifications

TYPE: INTEGER (int)

ALLOWED VALUES:

PRESENCE: OPTIONAL

Constant Value: "category"