com.sonyericsson.extras.liveware.aef.registration
Interface Registration.Intents

Enclosing class:
Registration

public static interface Registration.Intents

Broadcast Intents sent to extensions by the host applications


Field Summary
static java.lang.String ACCESSORY_CONNECTION_INTENT
          Intent sent from the host applications to extensions to indicate that an accessory has been connected or disconnected The host application must register the status in the Registration.DeviceColumns.ACCESSORY_CONNECTED column of the device table before sending this intent
static java.lang.String EXTENSION_REGISTER_REQUEST_INTENT
          Intent sent to extensions to request extension registrations.
static java.lang.String EXTRA_ACCESSORY_SUPPORTS_ACTIONS
          This Intent-extra is used when the settings of an extension is to be displayed by means of starting the activity defined in the Registration.ExtensionColumns.CONFIGURATION_ACTIVITY of the extension.
static java.lang.String EXTRA_ACCESSORY_SUPPORTS_HISTORY
          This Intent-extra is used when the settings of an extension is to be displayed by means of starting the activity defined in the Registration.ExtensionColumns.CONFIGURATION_ACTIVITY of the extension.
static java.lang.String EXTRA_AHA_PACKAGE_NAME
          The name of the Intent-extra used to identify the Host Application.
static java.lang.String EXTRA_CONNECTION_STATUS
          The name of the Intent-extra used to identify the accessory connection status
 

Field Detail

EXTENSION_REGISTER_REQUEST_INTENT

static final java.lang.String EXTENSION_REGISTER_REQUEST_INTENT
Intent sent to extensions to request extension registrations. Extensions that are already registered do not need to register again

Since:
1.0
See Also:
Constant Field Values

ACCESSORY_CONNECTION_INTENT

static final java.lang.String ACCESSORY_CONNECTION_INTENT
Intent sent from the host applications to extensions to indicate that an accessory has been connected or disconnected The host application must register the status in the Registration.DeviceColumns.ACCESSORY_CONNECTED column of the device table before sending this intent

Intent-extra data:

Since:
1.0
See Also:
Constant Field Values

EXTRA_AHA_PACKAGE_NAME

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

Since:
1.0
See Also:
Constant Field Values

EXTRA_CONNECTION_STATUS

static final java.lang.String EXTRA_CONNECTION_STATUS
The name of the Intent-extra used to identify the accessory connection status

The value must one the predefined constants Registration.AccessoryConnectionStatus.

TYPE: INT

Since:
1.0
See Also:
Constant Field Values

EXTRA_ACCESSORY_SUPPORTS_HISTORY

static final java.lang.String EXTRA_ACCESSORY_SUPPORTS_HISTORY
This Intent-extra is used when the settings of an extension is to be displayed by means of starting the activity defined in the Registration.ExtensionColumns.CONFIGURATION_ACTIVITY of the extension. The Intent-extra is only valid for extensions that support the notification API. This extra indicates if the accessory supports showing notifications history.

The value can be true (default) or false. If false, the accessory does not support showing the history of notifications and a notification extension might want to hide e.g. "Clear history" from its settings

TYPE: BOOLEAN

Since:
1.0
See Also:
Constant Field Values

EXTRA_ACCESSORY_SUPPORTS_ACTIONS

static final java.lang.String EXTRA_ACCESSORY_SUPPORTS_ACTIONS
This Intent-extra is used when the settings of an extension is to be displayed by means of starting the activity defined in the Registration.ExtensionColumns.CONFIGURATION_ACTIVITY of the extension. The Intent-extra is only valid for extensions that support the notification API This extra indicates if the accessory supports triggering actions linked to notification events. For more information about actions see. Notification.SourceColumns.ACTION_1

The value can be true (default) or false. If false, the accessory does not support triggering actions from notification events and a notification extension might want to hide action related settings

TYPE: BOOLEAN

Since:
1.0
See Also:
Constant Field Values