Effective in 2026, to align with our trunk stable development model and ensure platform stability for the ecosystem, we will publish source code to AOSP in Q2 and Q4. For building and contributing to AOSP, we recommend utilizing android-latest-release instead of aosp-main. The android-latest-release manifest branch will always reference the most recent release pushed to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
btrc_ctrl_interface_t Struct Reference
#include <
bt_rc.h
>
|
|
|
size_t
|
size
|
|
|
|
bt_status_t
(*
|
init
)(
btrc_ctrl_callbacks_t
*callbacks)
|
|
|
|
bt_status_t
(*
|
send_pass_through_cmd
)(bt_bdaddr_t *bd_addr, uint8_t key_code, uint8_t key_state)
|
|
|
|
bt_status_t
(*
|
send_group_navigation_cmd
)(bt_bdaddr_t *bd_addr, uint8_t key_code, uint8_t key_state)
|
|
|
|
bt_status_t
(*
|
set_player_app_setting_cmd
)(bt_bdaddr_t *bd_addr, uint8_t num_attrib, uint8_t *attrib_ids, uint8_t *attrib_vals)
|
|
|
|
bt_status_t
(*
|
set_volume_rsp
)(bt_bdaddr_t *bd_addr, uint8_t abs_vol, uint8_t label)
|
|
|
|
bt_status_t
(*
|
register_abs_vol_rsp
)(bt_bdaddr_t *bd_addr,
btrc_notification_type_t
rsp_type, uint8_t abs_vol, uint8_t label)
|
|
|
|
void(*
|
cleanup
)(void)
|
|
|
Represents the standard BT-RC AVRCP Controller interface.
Definition at line
347
of file
bt_rc.h
.
Closes the interface.
Definition at line
376
of file
bt_rc.h
.
Register the BtRc callbacks
Definition at line
354
of file
bt_rc.h
.
send notificaiton rsp for abs vol to target
Definition at line
372
of file
bt_rc.h
.
|
bt_status_t
(* send_group_navigation_cmd)(bt_bdaddr_t *bd_addr, uint8_t key_code, uint8_t key_state)
|
send group navigation command to target
Definition at line
361
of file
bt_rc.h
.
|
bt_status_t
(* send_pass_through_cmd)(bt_bdaddr_t *bd_addr, uint8_t key_code, uint8_t key_state)
|
send pass through command to target
Definition at line
357
of file
bt_rc.h
.
|
bt_status_t
(* set_player_app_setting_cmd)(bt_bdaddr_t *bd_addr, uint8_t num_attrib, uint8_t *attrib_ids, uint8_t *attrib_vals)
|
send command to set player applicaiton setting attributes to target
Definition at line
365
of file
bt_rc.h
.
|
bt_status_t
(* set_volume_rsp)(bt_bdaddr_t *bd_addr, uint8_t abs_vol, uint8_t label)
|
send rsp to set_abs_vol received from target
Definition at line
369
of file
bt_rc.h
.
set to sizeof(BtRcInterface)
Definition at line
350
of file
bt_rc.h
.
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
bt_rc.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[]]