Sony Addon SDK
public static interface

Registration.WidgetColumns

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

Class Overview

Column-definitions for the Widget table

Summary

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.

Constants

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

The ID of the display that the widget can be shown on.

TYPE: INTEGER (long)

PRESENCE: REQUIRED

Constant Value: "displayId"

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

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"

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

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"

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

The maximum width of a widget in pixels.

TYPE: INTEGER (int)

PRESENCE: REQUIRED

Constant Value: "maxWidth"

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

The maximum height of widget in pixels.

TYPE: INTEGER (int)

PRESENCE: REQUIRED

Constant Value: "maxHeight"

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

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"

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

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"