|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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 |
|---|
static final java.lang.String EXTENSION_REGISTER_REQUEST_INTENT
static final java.lang.String ACCESSORY_CONNECTION_INTENT
Registration.DeviceColumns.ACCESSORY_CONNECTED
column of the device table before sending this intent
Intent-extra data:
static final java.lang.String EXTRA_AHA_PACKAGE_NAME
TYPE: TEXT
static final java.lang.String EXTRA_CONNECTION_STATUS
The value must one the predefined constants
Registration.AccessoryConnectionStatus.
TYPE: INT
static final java.lang.String EXTRA_ACCESSORY_SUPPORTS_HISTORY
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
static final java.lang.String EXTRA_ACCESSORY_SUPPORTS_ACTIONS
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||