Sony Addon SDK
public static interface

Registration.ExtensionColumns

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

Class Overview

Column-definitions for the Extension table

Summary

Constants
java.lang.String NAME Displayable name of the extension that may be presented, e.g.
java.lang.String CONFIGURATION_ACTIVITY Class name of the Android Activity that contains the settings of the extension
java.lang.String CONFIGURATION_TEXT Short text to describe the current configuration state of the extension
java.lang.String HOST_APP_ICON_URI URI of the Android launcher icon representing the extension.
java.lang.String EXTENSION_ICON_URI URI of the icon representing the extension.
java.lang.String EXTENSION_48PX_ICON_URI URI of the icon representing the extension.
java.lang.String EXTENSION_ICON_URI_BLACK_WHITE URI of the monochrome icon representing the extension.
java.lang.String EXTENSION_KEY Used for security reasons for the extension's benefit.
java.lang.String NOTIFICATION_API_VERSION If the extension uses the Notification API, this field should tell what version of the API that is used.
java.lang.String PACKAGE_NAME The package name of an extension.
java.lang.String LAUNCH_MODE Specifies the preferred launch mode for extensions that supports both the Control and the Notification API.

Constants

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

Displayable name of the extension that may be presented, e.g. in settings

TYPE: TEXT

PRESENCE: REQUIRED

Constant Value: "name"

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

Class name of the Android Activity that contains the settings of the extension

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "configurationActivity"

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

Short text to describe the current configuration state of the extension

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "configurationText"

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

URI of the Android launcher icon representing the extension. This icon is used by the host application when listing extensions

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "iconLargeUri"

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

URI of the icon representing the extension. This icon is used on the accessory UI. The size is 36x36 pixels

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "extensionIconUri"

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

URI of the icon representing the extension. This icon is used on the accessory UI. The size is 48x48 pixels.

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "extension48PxIconUri"

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

URI of the monochrome icon representing the extension. This icon is used on the accessory UI. The size is 18x18 pixels

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "extensionIconUriBlackWhite"

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

Used for security reasons for the extension's benefit. If set, this key will be sent as an extra-data in Intents sent to the extension from the host application. This enables the extension to verify that the sender has valid access to the registration content provider. See section Security for more information

TYPE: TEXT

PRESENCE: REQUIRED

Constant Value: "extension_key"

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

If the extension uses the Notification API, this field should tell what version of the API that is used. Value 0 means that the API is not used

TYPE: INTEGER (int)

PRESENCE: REQUIRED

Constant Value: "notificationApiVersion"

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

The package name of an extension. If an extension supports shared user id, the package name must be specified

TYPE: TEXT

PRESENCE: OPTIONAL (REQUIRED if shared user id is used by extension)

Constant Value: "packageName"

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

Specifies the preferred launch mode for extensions that supports both the Control and the Notification API. This value is ignored for extensions that only supports one of these APIs.

TYPE: INTEGER (int)

ALLOWED VALUES:

PRESENCE: OPTIONAL (REQUIRED if shared user id is used by extension)

Constant Value: "launchMode"