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. |
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"
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"
Display name of the widget that may be shown in the settings.
TYPE: TEXT
PRESENCE: REQUIRED
Constant Value: "name"
The width of the widget in pixels.
TYPE: INTEGER (int)
PRESENCE: REQUIRED
Constant Value: "width"
The height of the widget in pixels.
TYPE: INTEGER (int)
PRESENCE: REQUIRED
Constant Value: "height"
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"
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"
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"
Column-definitions for the WidgetRegistration table