Sony Addon SDK
public static interface

Notification.SourceColumns

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

Class Overview

Column-definitions for the Source table.

Summary

Constants
java.lang.String NAME Displayable name of the source
java.lang.String ICON_URI_1 Each Source can use up to 2 icons with different sizes and one monochrome This is the URI of the largest icon (30x30 pixels)
java.lang.String ICON_URI_2 Each Source can use up to 2 icons with different sizes and one monochrome This is the URI of the second largest icon (18x18 pixels)
java.lang.String ICON_URI_BLACK_WHITE Each Source can use up to 2 icons with different sizes and one monochrome This is the URI of the monochrome icon (18x18 pixels)
java.lang.String ENABLED Indicates if the source is enabled
java.lang.String ACTION_1 Action supported by the extension.
java.lang.String ACTION_2 Action supported by the extension.
java.lang.String ACTION_3 Action supported by the extension.
java.lang.String ACTION_ICON_1 Action supported by the extension.
java.lang.String ACTION_ICON_2 Action supported by the extension.
java.lang.String ACTION_ICON_3 Action supported by the extension.
java.lang.String UPDATE_TIME The time (in milliseconds since January 1, 1970 00:00:00 UTC UNIX EPOCH) when an event linked to this source was created.
java.lang.String TEXT_TO_SPEECH Text to speech specific text.
java.lang.String EXTENSION_SPECIFIC_ID Extension specific identifier of the source It is up to the extension to define this identifier
java.lang.String COLOR The color associated with this source.
java.lang.String PACKAGE_NAME The package name of a plug-in.
java.lang.String SUPPORTS_REFRESH If true it is possible for the user to trigger a manual refresh of events from this source.

Constants

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

Displayable name of the source

TYPE: TEXT

PRESENCE: REQUIRED

Constant Value: "name"

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

Each Source can use up to 2 icons with different sizes and one monochrome This is the URI of the largest icon (30x30 pixels)

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "iconUri1"

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

Each Source can use up to 2 icons with different sizes and one monochrome This is the URI of the second largest icon (18x18 pixels)

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "iconUri2"

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

Each Source can use up to 2 icons with different sizes and one monochrome This is the URI of the monochrome icon (18x18 pixels)

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "iconUriBlackWhite"

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

Indicates if the source is enabled

TYPE: BOOLEAN

PRESENCE: REQUIRED

Constant Value: "enabled"

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

Action supported by the extension. The action is defined by the extension and supported for this source. Actions are sent to the extension from host applications using the VIEW_EVENT_INTENT intent. This is the text for the action.

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "action_1"

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

Action supported by the extension. The action is defined by the extension and supported for this source. Actions are sent to the extension from host applications using the VIEW_EVENT_INTENT intent. This is the text for the action.

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "action_2"

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

Action supported by the extension. The action is defined by the extension and supported for this source. Actions are sent to the extension from host applications using the VIEW_EVENT_INTENT intent. This is the text for the action.

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "action_3"

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

Action supported by the extension. The action is defined by the extension and supported for this source. Actions are sent to the extension from host applications using the VIEW_EVENT_INTENT intent. This is the URI for the action icon (40x40 pixels).

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "action_icon_1"

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

Action supported by the extension. The action is defined by the extension and supported for this source. Actions are sent to the extension from host applications using the VIEW_EVENT_INTENT intent. This is the URI for the action icon (40x40 pixels).

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "action_icon_2"

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

Action supported by the extension. The action is defined by the extension and supported for this source. Actions are sent to the extension from host applications using the VIEW_EVENT_INTENT intent. This is the URI for the action icon (40x40 pixels).

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "action_icon_3"

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

The time (in milliseconds since January 1, 1970 00:00:00 UTC UNIX EPOCH) when an event linked to this source was created. Shall be stored as GMT+0 time

TYPE: INTEGER (long)

PRESENCE: OPTIONAL

Constant Value: "updateTime"

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

Text to speech specific text. The text in this column is used in combination with the events of the source to create speech events. The text in this column is read out before the events

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "textToSpeech"

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

Extension specific identifier of the source It is up to the extension to define this identifier

TYPE: TEXT

PRESENCE: OPTIONAL

Constant Value: "extension_specific_id"

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

The color associated with this source. This color will be used when visualizing the source and the events associated with it. The color shall be sent in the format specified in android.graphics.Color. There is no support for transparency (alpha is ignored). If not set the color is determined by the host application.

TYPE: INTEGER (int)

PRESENCE: OPTIONAL

Constant Value: "color"

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

The package name of a plug-in. 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 SUPPORTS_REFRESH

If true it is possible for the user to trigger a manual refresh of events from this source. The manual refresh can for example be used to trigger a new poll to a server. The REFRESH_REQUEST_INTENT is sent to the extension when the user has initiated a refresh.

TYPE: BOOLEAN

PRESENCE: OPTIONAL (Default behavior is FALSE)

Constant Value: "supportsRefresh"