Fields Summary |
---|
public static final String | SERVICE_INTERFACEThe {@link Intent} that must be declared as handled by the service.
Put this in your manifest. |
public static final int | CLIENT_MSG_REGISTER(client v1)
Register client.
- replyTo : client messenger
- arg1 : request id
- arg2 : client version |
public static final int | CLIENT_MSG_UNREGISTER(client v1)
Unregister client.
- replyTo : client messenger
- arg1 : request id |
public static final int | CLIENT_MSG_CREATE_ROUTE_CONTROLLER(client v1)
Create route controller.
- replyTo : client messenger
- arg1 : request id
- arg2 : route controller id
- CLIENT_DATA_ROUTE_ID : route id string |
public static final int | CLIENT_MSG_RELEASE_ROUTE_CONTROLLER(client v1)
Release route controller.
- replyTo : client messenger
- arg1 : request id
- arg2 : route controller id |
public static final int | CLIENT_MSG_SELECT_ROUTE(client v1)
Select route.
- replyTo : client messenger
- arg1 : request id
- arg2 : route controller id |
public static final int | CLIENT_MSG_UNSELECT_ROUTE(client v1)
Unselect route.
- replyTo : client messenger
- arg1 : request id
- arg2 : route controller id |
public static final int | CLIENT_MSG_SET_ROUTE_VOLUME(client v1)
Set route volume.
- replyTo : client messenger
- arg1 : request id
- arg2 : route controller id
- CLIENT_DATA_VOLUME : volume integer |
public static final int | CLIENT_MSG_UPDATE_ROUTE_VOLUME(client v1)
Update route volume.
- replyTo : client messenger
- arg1 : request id
- arg2 : route controller id
- CLIENT_DATA_VOLUME : volume delta integer |
public static final int | CLIENT_MSG_ROUTE_CONTROL_REQUEST(client v1)
Route control request.
- replyTo : client messenger
- arg1 : request id
- arg2 : route controller id
- obj : media control intent |
public static final int | CLIENT_MSG_SET_DISCOVERY_REQUEST(client v1)
Sets the discovery request.
- replyTo : client messenger
- arg1 : request id
- obj : discovery request bundle, or null if none |
public static final String | CLIENT_DATA_ROUTE_ID |
public static final String | CLIENT_DATA_VOLUME |
public static final String | CLIENT_DATA_UNSELECT_REASON |
public static final int | SERVICE_MSG_GENERIC_FAILURE(service v1)
Generic failure sent in response to any unrecognized or malformed request.
- arg1 : request id |
public static final int | SERVICE_MSG_GENERIC_SUCCESS(service v1)
Generic failure sent in response to a successful message.
- arg1 : request id |
public static final int | SERVICE_MSG_REGISTERED(service v1)
Registration succeeded.
- arg1 : request id
- arg2 : server version
- obj : route provider descriptor bundle, or null |
public static final int | SERVICE_MSG_CONTROL_REQUEST_SUCCEEDED(service v1)
Route control request success result.
- arg1 : request id
- obj : result data bundle, or null |
public static final int | SERVICE_MSG_CONTROL_REQUEST_FAILED(service v1)
Route control request failure result.
- arg1 : request id
- obj : result data bundle, or null
- SERVICE_DATA_ERROR: error message |
public static final int | SERVICE_MSG_DESCRIPTOR_CHANGED(service v1)
Route provider descriptor changed. (unsolicited event)
- arg1 : reserved (0)
- obj : route provider descriptor bundle, or null |
public static final String | SERVICE_DATA_ERROR |
public static final int | CLIENT_VERSION_1 |
public static final int | CLIENT_VERSION_CURRENT |
public static final int | SERVICE_VERSION_1 |
public static final int | SERVICE_VERSION_CURRENT |