34
30
Adjust remote volume one step down
36
boolean SendPassthrough(avc_operation_id key, boolean state,
39
Called to send Passthrough commands. ONLY valid if
40
BlueZ device is in CT role.
42
boolean SendVendorDependent(string op_data)
44
Called to send VendorDependent commands, other than
45
Metadata or Events defined in the AVRCP+Metadata
48
void ChangePlayback(string status, uint32 elapsed)
50
The status can be "playing", "stopped", "paused",
51
"forward-seek", "reverse-seek" or "error". Elapsed is
52
the position within the track in milliseconds.
54
void ChangeTrack(dict metadata)
56
Called to send the mandated TrackChange event and
57
potential metadata information.
59
Current defined metadata information are represented
60
with the following keys:
62
Title string (mandatory)
68
TrackDuration uint32 (in milliseconds)
70
void ChangeSetting(string setting, variant value)
72
Called to transmit Application Settings, CT Status
75
Currenet defined settings are represented with the
79
Repeat off, singletrack, alltracks, group
80
Shuffle off, alltracks, group
81
Scan off, alltracks, group
82
Battery normal, warning, critical, external, fullcharge
83
System powered, unpowered, unplugged
32
Signals Connected() {deprecated}
88
34
Sent when a successful AVRCP connection has been made
89
35
to the remote device.
37
Disconnected() {deprecated}
93
39
Sent when the AVRCP connection to the remote device
94
40
has been disconnected.
96
Passthrough(uint8 key, boolean state, int32 company_id,
99
Called when Passthrough command is received from
102
NOTE: according to the AV/C Subpanel Spec, company_id
103
and op_data are passed ONLY when the key is
104
"Vendor_Unique", or 0x7E.
106
When the key is NOT 0x7E, the signal returns
107
company_id=-1, and zero-length op_data.
109
VendorDependentReceived(string op_data)
111
Called when VendorDependent message is received from
112
connected device (except for Metadata defined in
113
Bluetooth SIG AVRCP+Metadata spec).
115
TrackChanged(dict metadata)
117
Called when Metadata is received from connected device.
118
May be multiple meta attribute/element pairs.
120
PlaybackChanged(string status, uint32 elapsed)
122
SettingChanged(string setting, variant value)
124
Properties uint8 SubUnitID [readonly]
126
The three-bit Subunit ID from the connected device.
128
uint8 SubUnitType [readonly]
130
The five-bit Subunit Type from the connected device.
132
44
boolean Connected [readonly]
134
array{uint32} CompanyIDs [readonly]
136
List of three-byte Company IDs (OUI) supported by the
137
connected device. Note that Bluetooth SIG Company
138
ID (0x001958) is always included.
140
array{string} Capabilities [readonly]
142
List of Capabilities provided by the connected device.