Sony Addon SDK
public static interface

Notification.Intents

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

Class Overview

Intents sent to extensions by the host applications either using the broadcast queue or Tunnel.

Summary

Constants
java.lang.String VIEW_EVENT_INTENT Intent sent by the host application to the relevant extension to display all details related to the event
java.lang.String REFRESH_REQUEST_INTENT Intent sent by the host application when an update of available data is needed.
java.lang.String EXTRA_EVENT_ID The name of the Intent-extra used to identify the event
java.lang.String EXTRA_SOURCE_ID The name of the Intent-extra used to identify which Source an Event is associated with
java.lang.String EXTRA_ACTION The action requested by the user.
java.lang.String EXTRA_EXTENSION_KEY The name of the Intent-extra containing the key set by the extension in EXTENSION_KEY.
java.lang.String EXTRA_AHA_PACKAGE_NAME The name of the Intent-extra used to identify the Host Application.
java.lang.String EXTENSION_ACTION_1 Constant defining an action requested by the host application using the VIEW_EVENT_INTENT intent.
java.lang.String EXTENSION_ACTION_2 Constant defining an action requested by the host application using the VIEW_EVENT_INTENT intent.
java.lang.String EXTENSION_ACTION_3 Constant defining an action requested by the host application using the VIEW_EVENT_INTENT intent.

Constants

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

Intent sent by the host application to the relevant extension to display all details related to the event

Intent-extra data:

Constant Value: "com.sonyericsson.extras.liveware.aef.notification.VIEW_EVENT_DETAIL"

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

Intent sent by the host application when an update of available data is needed. It is optional for the host application to send this intent, and most host application do not send it at all. Instead the extensions controls the timing for when it wants to add/update/delete events.

Intent-extra data:

Constant Value: "com.sonyericsson.extras.liveware.aef.notification.REFRESH_REQUEST"

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

The name of the Intent-extra used to identify the event

TYPE: INTEGER (int)

Constant Value: "event_id"

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

The name of the Intent-extra used to identify which Source an Event is associated with

TYPE: INTEGER (int)

Constant Value: "source_id"

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

The action requested by the user. This is a string indicating a user action corresponding to one of the three actions that are defined in the source table action_1 ACTION_1 action_2 ACTION_2 action_3 ACTION_3 action_icon_1 ACTION_ICON_1 action_icon_2 ACTION_ICON_2 action_icon_3 ACTION_ICON_3

ALLOWED VALUES:

Constant Value: "action"

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

The name of the Intent-extra containing the key set by the extension in EXTENSION_KEY. This Intent-data is present in all Intents sent by accessory host application, except where startActivity(android.content.Intent) is used. See section Security for more information

TYPE: TEXT

Constant Value: "extension_key"

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

The name of the Intent-extra used to identify the Host Application. The Host Application will send its package name

TYPE: TEXT

Constant Value: "aha_package_name"

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

Constant defining an action requested by the host application using the VIEW_EVENT_INTENT intent. The action corresponds the action that is defined in the source table action_1 ACTION_1 or action_icon_1 ACTION_ICON_1

TYPE: TEXT

Constant Value: "action_1"

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

Constant defining an action requested by the host application using the VIEW_EVENT_INTENT intent. The action corresponds the action that is defined in the source table action_2 ACTION_2 or action_icon_2 ACTION_ICON_2

TYPE: TEXT

Constant Value: "action_2"

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

Constant defining an action requested by the host application using the VIEW_EVENT_INTENT intent. The action corresponds the action that is defined in the source table action_3 ACTION_3 or action_icon_3 ACTION_ICON_3

TYPE: TEXT

Constant Value: "action_3"