Constants | ||
---|---|---|
java.lang.String | DISPLAY_ID | The ID of the display that the widget can be shown on. |
java.lang.String | CELL_WIDTH | The width of a widget cell in pixels. |
java.lang.String | CELL_HEIGHT | The height of a widget cell in pixels. |
java.lang.String | MAX_WIDTH | The maximum width of a widget in pixels. |
java.lang.String | MAX_HEIGHT | The maximum height of widget in pixels. |
java.lang.String | ACCESSORY_STATE | Specifies the different states an accessory can enter. |
java.lang.String | TYPE | Specifies the widget type. |
The ID of the display that the widget can be shown on.
TYPE: INTEGER (long)
PRESENCE: REQUIRED
Constant Value: "displayId"
The width of a widget cell in pixels. The host application may position widgets based on a grid of cells. If the width of a widget does not match the width of the cells the widget width will be rounded up to the nearest cell width.
TYPE: INTEGER (int)
PRESENCE: REQUIRED
Constant Value: "cellWidth"
The height of a widget cell in pixels. The host application may position widgets based on a grid of cells. If the height of a widget does not match the width of the cells the widget height will be rounded up to the nearest cell height.
TYPE: INTEGER (int)
PRESENCE: REQUIRED
Constant Value: "cellHeight"
The maximum width of a widget in pixels.
TYPE: INTEGER (int)
PRESENCE: REQUIRED
Constant Value: "maxWidth"
The maximum height of widget in pixels.
TYPE: INTEGER (int)
PRESENCE: REQUIRED
Constant Value: "maxHeight"
Specifies the different states an accessory can enter. The accessory's state can affect which resources are used for displaying widgets
TYPE: INTEGER (int, bit field see Widget.AccessoryState.
PRESENCE: REQUIRED
Constant Value: "displayMode"
Specifies the widget type. This is an unique string specified by each host application that is used by the extension to specify the widget it registers for.
TYPE: TEXT
PRESENCE: REQUIRED
Constant Value: "type"
Column-definitions for the Widget table