SmartEyeglass SDK
public static interface

Registration.Intents

Class Overview

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

Summary

Constants
java.lang.String EXTENSION_REGISTER_REQUEST_INTENT Intent sent to extensions to request extension registrations.
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 ACCESSORY_CONNECTED column of the device table before sending this intent.
java.lang.String EXTRA_AHA_PACKAGE_NAME The name of the Intent-extra used to identify the Host Application.
java.lang.String EXTRA_CONNECTION_STATUS The name of the Intent-extra used to identify the accessory connection status
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 CONFIGURATION_ACTIVITY of the extension.
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 CONFIGURATION_ACTIVITY of the extension.

Constants

Added in API level 1.0 public 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 This intent will never be sent over Tunnel.

Constant Value: "com.sonyericsson.extras.liveware.aef.registration.EXTENSION_REGISTER_REQUEST"

Added in API level 1.0 public 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 ACCESSORY_CONNECTED column of the device table before sending this intent.

Intent-extra data:



Constant Value: "com.sonyericsson.extras.liveware.aef.registration.ACCESSORY_CONNECTION"

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 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

Constant Value: "connnection_status"

Added in API level 1.0 public 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 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

Constant Value: "supports_history"

Added in API level 1.0 public 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 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. 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

Constant Value: "supports_actions"