Sony Addon SDK
public static interface

Registration.DeviceColumns

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

Class Overview

Column-definitions for the Device table

Summary

Constants
java.lang.String HOST_APPLICATION_ID The ID of the host application corresponding to this device
java.lang.String MODEL The device model
java.lang.String TYPE The type of the device
java.lang.String SUB_TYPE The sub-type of the device
java.lang.String MARKETING_NAME The marketing name of the device
java.lang.String VENDOR The vendor of the device
java.lang.String UID The UID of the device
java.lang.String FIRMWARE_VERSION The firmware version of the device
java.lang.String WIDGET_IMAGE_HEIGHT The height of the widget image.
java.lang.String WIDGET_IMAGE_WIDTH The width of the widget image.
java.lang.String VIBRATOR Indicates if the device has a vibrator
java.lang.String ACCESSORY_CONNECTED Indicates if the device is connected to the host application
java.lang.String LAYOUT_SUPPORT Specifies the XML layout elements that are supported on this device.

Constants

Added in API level 1.0 public static final java.lang.String HOST_APPLICATION_ID

The ID of the host application corresponding to this device

TYPE: INTEGER (long)

PRESENCE: REQUIRED

Constant Value: "hostAppId"

Added in API level 1.0 public static final java.lang.String MODEL

The device model

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "model"

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

The type of the device

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "type"

Added in API level 1.0 public static final java.lang.String SUB_TYPE

The sub-type of the device

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "subType"

Added in API level 1.0 public static final java.lang.String MARKETING_NAME

The marketing name of the device

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "marketingName"

Added in API level 1.0 public static final java.lang.String VENDOR

The vendor of the device

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "vendor"

Added in API level 1.0 public static final java.lang.String UID

The UID of the device

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "uid"

Added in API level 1.0 public static final java.lang.String FIRMWARE_VERSION

The firmware version of the device

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "firmwareVersion"

Added in API level 1.0 public static final java.lang.String WIDGET_IMAGE_HEIGHT

The height of the widget image. Starting with API version 3, the supported widget height may be defined in the Registration.Widget table to allow one host application to support widgets of different sizes.

TYPE: INTEGER (int)

PRESENCE: OPTIONAL

Constant Value: "widgetImageHeight"

Added in API level 1.0 public static final java.lang.String WIDGET_IMAGE_WIDTH

The width of the widget image. Starting with API version 3, the supported widget width may be defined in the Registration.Widget table to allow one host application to support widgets of different sizes.

TYPE: INTEGER (int)

PRESENCE: OPTIONAL

Constant Value: "widgetImageWidtht"

Added in API level 1.0 public static final java.lang.String VIBRATOR

Indicates if the device has a vibrator

TYPE: BOOLEAN

PRESENCE: REQUIRED

Constant Value: "vibrator"

Added in API level 1.0 public static final java.lang.String ACCESSORY_CONNECTED

Indicates if the device is connected to the host application

TYPE: BOOLEAN

PRESENCE: REQUIRED

Constant Value: "accessory_connected"

Added in API level 2.0 public static final java.lang.String LAYOUT_SUPPORT

Specifies the XML layout elements that are supported on this device.

TYPE: INTEGER (int), bit field see Registration.LayoutSupport.

PRESENCE: OPTIONAL (Default 0)

See Also

Constant Value: "layoutSupport"