|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface Sensor.Intents
Intents sent between Sensor Extensions and Accessory Host Applications
| Field Summary | |
|---|---|
static java.lang.String |
EXTRA_AEA_PACKAGE_NAME
The name of the Intent-extra used to identify 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_ERROR_CODE
The name of the Intent-extra used to set the error code of an error message from the host application. |
static java.lang.String |
EXTRA_SENSOR_ID
The name of the Intent-extra used to identify the Sensor. |
static java.lang.String |
EXTRA_SENSOR_INTERRUPT_MODE
The name of the Intent-extra used to set the sensor interrupt mode. |
static java.lang.String |
EXTRA_SENSOR_LOCAL_SERVER_SOCKET_NAME
The name of the Intent-extra used to identify the name of the Android Local Server Socket that is now waiting for a connection from the host application |
static java.lang.String |
EXTRA_SENSOR_REQUESTED_RATE
The name of the Intent-extra used to set the preferred delivery rate of the sensor data. |
static java.lang.String |
SENSOR_ERROR_MESSAGE_INTENT
Intent sent by the Host Application when an error situation has occurred |
static java.lang.String |
SENSOR_REGISTER_LISTENER_INTENT
Intent used by the Sensor Extension whenever it wants to start listen to sensor data. |
static java.lang.String |
SENSOR_UNREGISTER_LISTENER_INTENT
Intent used by the Sensor Extension whenever it wants to stop listen to sensor data. |
| Field Detail |
|---|
static final java.lang.String SENSOR_REGISTER_LISTENER_INTENT
This intent should be sent with enforced security by supplying the host application permission
to sendBroadcast(Intent, String). Registration.HOSTAPP_PERMISSION
Intent-extra data:
EXTRA_AEA_PACKAGE_NAMEEXTRA_SENSOR_IDEXTRA_SENSOR_LOCAL_SERVER_SOCKET_NAMEEXTRA_SENSOR_REQUESTED_RATEEXTRA_SENSOR_INTERRUPT_MODE
static final java.lang.String SENSOR_UNREGISTER_LISTENER_INTENT
This intent should be sent with enforced security by supplying the host application permission
to sendBroadcast(Intent, String). Registration.HOSTAPP_PERMISSION
Intent-extra data:
static final java.lang.String SENSOR_ERROR_MESSAGE_INTENT
Intent-extra data:
static final java.lang.String EXTRA_AEA_PACKAGE_NAME
TYPE: TEXT
static final java.lang.String EXTRA_SENSOR_ID
TYPE: INTEGER (int)
static final java.lang.String EXTRA_SENSOR_LOCAL_SERVER_SOCKET_NAME
TYPE: TEXT
static final java.lang.String EXTRA_SENSOR_REQUESTED_RATE
Sensor.SensorRates
TYPE: INTEGER (int)
static final java.lang.String EXTRA_SENSOR_INTERRUPT_MODE
Sensor.SensorInterruptMode
TYPE: INTEGER (int)
static final java.lang.String EXTRA_ERROR_CODE
Sensor.SensorApiErrorCodes
TYPE: INTEGER (int)
static final java.lang.String EXTRA_AHA_PACKAGE_NAME
TYPE: TEXT
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||