Stay organized with collections
Save and categorize content based on your preferences.
btrc_interface_t Struct Reference
#include <
bt_rc.h
>
Represents the standard BT-RC AVRCP Target interface.
Definition at line
223
of file
bt_rc.h
.
Closes the interface.
Definition at line
291
of file
bt_rc.h
.
Returns the current songs' element attributes text ("Title"/"Album"/"Artist") num_attr: Specifies the number of attributes' text contained in the pointer p_attrs
Definition at line
265
of file
bt_rc.h
.
Respose to GetPlayStatus request. Contains the current
-
Play status
-
Song duration/length
-
Song position
Definition at line
237
of file
bt_rc.h
.
Returns the application attributes text ("Shuffle"/"Repeat"/...) num_attr: Specifies the number of attributes' text contained in the pointer p_attrs
Definition at line
255
of file
bt_rc.h
.
Returns the current application attribute values for each of the specified attr_id
Definition at line
250
of file
bt_rc.h
.
Returns the application attributes text ("Shuffle"/"Repeat"/...) num_attr: Specifies the number of attribute values' text contained in the pointer p_vals
Definition at line
260
of file
bt_rc.h
.
Register the BtRc callbacks
Definition at line
230
of file
bt_rc.h
.
Lists the support player application attributes (Shuffle/Repeat/...) num_attr: Specifies the number of attributes contained in the pointer p_attrs
Definition at line
242
of file
bt_rc.h
.
bt_status_t
(* list_player_app_value_rsp)(int num_val, uint8_t *p_vals)
|
Lists the support player application attributes (Shuffle Off/On/Group) num_val: Specifies the number of values contained in the pointer p_vals
Definition at line
247
of file
bt_rc.h
.
Response to set player attribute request ("Shuffle"/"Repeat") rsp_status: Status of setting the player attributes for the current media player
Definition at line
270
of file
bt_rc.h
.
Send current volume setting to remote side. Support limited to SetAbsoluteVolume This can be enhanced to support Relative Volume (AVRCP 1.0). With RelateVolume, we will send VOLUME_UP/VOLUME_DOWN opposed to absolute volume level volume: Should be in the range 0-127. bit7 is reseved and cannot be set
Definition at line
288
of file
bt_rc.h
.
set to sizeof(BtRcInterface)
Definition at line
226
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."],[],[]]