| Public Constructors | |
|---|---|
|
WidgetContainer(long id, int cellWidth, int cellHeight, int maxWidth, int maxHeight, int accessoryStates, java.lang.String type)
Create a widget container object. |
|
| Public Methods | |
|---|---|
| long |
getId()
The ID of the widget. |
| int |
getCellWidth()
The width of a cell in pixels. |
| int |
getCellHeight()
The height of a cell in pixels. |
| int |
getMaxWidth()
The maximum width of a widget in pixels. |
| int |
getMaxHeight()
The maximum height of a widget in pixels. |
| int |
getAccessoryStates()
The states the accessory can enter. |
| java.lang.String |
getType()
The states the accessory can enter. |
Create a widget container object.
| id | |
|---|---|
| cellWidth | |
| cellHeight | |
| maxWidth | |
| maxHeight | |
| accessoryStates | |
| type |
The ID of the widget. Is populated from the _ID field of the Registration.Widget table.
The ID.
The maximum width of a widget in pixels. Is populated from the MAX_WIDTH field.
The maximum width.
The maximum height of a widget in pixels. Is populated from the MAX_HEIGHT field.
The maximum height.
The states the accessory can enter. Is populated from the ACCESSORY_STATE field
the mAccessoryState
The widget container describes a host application display's widget support. The information is retrieved from the Registration.Widget table.