Android Hardware Abstraction Layer
Data Structures | Typedefs | Enumerations
bt_av.h File Reference

Go to the source code of this file.

Data Structures

struct  btav_callbacks_t
 
struct  btav_interface_t
 

Typedefs

typedef void(* btav_connection_state_callback )(btav_connection_state_t state, bt_bdaddr_t *bd_addr)
 
typedef void(* btav_audio_state_callback )(btav_audio_state_t state, bt_bdaddr_t *bd_addr)
 

Enumerations

enum  btav_connection_state_t { BTAV_CONNECTION_STATE_DISCONNECTED = 0, BTAV_CONNECTION_STATE_CONNECTING, BTAV_CONNECTION_STATE_CONNECTED, BTAV_CONNECTION_STATE_DISCONNECTING }
 
enum  btav_audio_state_t { BTAV_AUDIO_STATE_REMOTE_SUSPEND = 0, BTAV_AUDIO_STATE_STOPPED, BTAV_AUDIO_STATE_STARTED }
 

Typedef Documentation

typedef void(* btav_audio_state_callback)(btav_audio_state_t state, bt_bdaddr_t *bd_addr)

Callback for audiopath state change. state will have one of the values from btav_audio_state_t

Definition at line 47 of file bt_av.h.

typedef void(* btav_connection_state_callback)(btav_connection_state_t state, bt_bdaddr_t *bd_addr)

Callback for connection state change. state will have one of the values from btav_connection_state_t

Definition at line 41 of file bt_av.h.

Enumeration Type Documentation

Enumerator
BTAV_AUDIO_STATE_REMOTE_SUSPEND 
BTAV_AUDIO_STATE_STOPPED 
BTAV_AUDIO_STATE_STARTED 

Definition at line 31 of file bt_av.h.

Enumerator
BTAV_CONNECTION_STATE_DISCONNECTED 
BTAV_CONNECTION_STATE_CONNECTING 
BTAV_CONNECTION_STATE_CONNECTED 
BTAV_CONNECTION_STATE_DISCONNECTING 

Definition at line 23 of file bt_av.h.