Crate fidl_fuchsia_bluetooth_avrcp_common

Source

Macros§

PathUnknown
Pattern that matches an unknown Path member.

Structs§

AbsoluteVolumeHandlerGetCurrentVolumeResponse
AbsoluteVolumeHandlerOnVolumeChangedResponse
AbsoluteVolumeHandlerSetVolumeRequest
AbsoluteVolumeHandlerSetVolumeResponse
AddressedPlayerId
The AddressedPlayerId is a unique identifier, assigned by AVRCP, for a media player. This ID is only used for AVRCP purposes, and should not be interpreted as an identification created, assigned, or used by MediaSession or any other API surfaces.
BrowseControllerChangePathRequest
BrowseControllerChangePathResponse
BrowseControllerGetFileSystemItemsRequest
BrowseControllerGetFileSystemItemsResponse
BrowseControllerGetMediaPlayerItemsRequest
BrowseControllerGetMediaPlayerItemsResponse
BrowseControllerGetNowPlayingItemsRequest
BrowseControllerGetNowPlayingItemsResponse
BrowseControllerPlayFileSystemItemRequest
BrowseControllerPlayNowPlayingItemRequest
BrowseControllerSetBrowsedPlayerRequest
ControllerGetMediaAttributesResponse
ControllerGetPlayStatusResponse
ControllerGetPlayerApplicationSettingsRequest
ControllerGetPlayerApplicationSettingsResponse
ControllerInformBatteryStatusRequest
ControllerOnNotificationRequest
ControllerSendCommandRequest
ControllerSetAbsoluteVolumeRequest
ControllerSetAbsoluteVolumeResponse
ControllerSetAddressedPlayerRequest
ControllerSetNotificationFilterRequest
ControllerSetPlayerApplicationSettingsRequest
ControllerSetPlayerApplicationSettingsResponse
CustomAttributeValue
The custom attribute value and its description.
CustomPlayerApplicationSetting
Specification allowed player application settings. Defined by AVRCP 1.6.2 Appendix F (player application settings).
FolderItem
Response data for a browseable folder item. Defined by AVRCP 1.6.2 section 6.10.2.2.
MajorPlayerType
The Major Player Type associated with a media player. Defined by AVRCP 1.6.2 section 6.10.2.1.
MediaAttributes
Defined by AVRCP 1.6.2 Appendix E (media attributes).
MediaElementItem
Response data for a browseable media element item. Defined by AVRCP 1.6.2 section 6.10.2.3.
MediaPlayerItem
Response data for the browseable items associated with a media player. Defined by AVRCP 1.6.2 section 6.10.2.1.
Notification
Event data from incoming target notifications. Defined by AVRCP 1.6.2 Sec 6.7.2.
Notifications
Change notifications that a controller client can register.
Parent
PlayStatus
Status of currently playing media on the TG. Defined by AVRCP 1.6.2 section 6.7.1, Table 6.29.
PlayerApplicationSettings
Defined by AVRCP 1.6.2 Appendix F (player application settings).
PlayerFeatureBits
PlayerFeatureBitsExt
PlayerSubType
The Player Sub Type associated with a media player. Defined by AVRCP 1.6.2 section 6.10.2.1.
TargetHandlerGetEventsSupportedResponse
TargetHandlerGetMediaAttributesResponse
TargetHandlerGetMediaPlayerItemsResponse
TargetHandlerGetNotificationRequest
TargetHandlerGetNotificationResponse
TargetHandlerGetPlayStatusResponse
TargetHandlerGetPlayerApplicationSettingsRequest
TargetHandlerGetPlayerApplicationSettingsResponse
TargetHandlerListPlayerApplicationSettingAttributesResponse
TargetHandlerSendCommandRequest
TargetHandlerSetAddressedPlayerRequest
TargetHandlerSetPlayerApplicationSettingsRequest
TargetHandlerSetPlayerApplicationSettingsResponse
TargetHandlerWatchNotificationRequest
TargetHandlerWatchNotificationResponse

Enums§

AttributeRequestOption
Set get_all if we want all attributes of a media element item. Set attribute_list if we want to get only the specified attributes. If get_all is set to false, it will be treated as attribute request with emtpy list of attribute IDs.
AvcPanelCommand
Defined by AV\C Panel specification.
BatteryStatus
Defined by AVRCP 1.6.2 section 6.7.2 (RegisterNotification). Format for EVENT_BATT_STATUS_CHANGED. Same encoding also defined by 6.5.8 (InformBatteryStatusOfCT).
BrowseControllerError
Errors from AVRCP 1.6.2 Section 6.15.3.
ControllerError
Status codes for commands sent as the controller.
Equalizer
Defined by AVRCP 1.6.2 Appendix F (player application settings).
FileSystemItem
Items returned from GetFolderItems(Filesystem) may be either a folder or media element. Defined by AVRCP 1.6.2 section 6.10.1.2. Only one of folder or media_element should be set.
FolderType
The folder type associated with a folder item. Defined by AVRCP 1.6.2 section 6.10.2.2.
MediaAttributeId
Defined by AVRCP 1.6.2 Appendix E (media attributes). 0x9-0xFFFFFFFF reserved for future use.
MediaType
Type of a media element item. Defined by AVRCP 1.6.2 section 6.10.2.3.
NotificationEvent
Defined by AVRCP 1.6.2 section 6.7.2 (RegisterNotification) and Appendix H. Style note: named exactly as they are in the specification with the “EVENT_” prefix.
Path
Relative path from the current directory. As per AVRCP 1.6.2 Section 6.10.4.1.1, it either specifies a parent folder for Folder Up direction or a child folder by its unique ID for Folder Down direction.
PlaybackStatus
Defined by AVRCP 1.6.2 section 6.7.2 (RegisterNotification). Format for EVENT_PLAYBACK_STATUS_CHANGED.
PlayerApplicationSettingAttributeId
0x80 - 0xFF is reserved for custom player application settings. Defined by AVRCP 1.6.2 Appendix F (player application settings).
RepeatStatusMode
Defined by AVRCP 1.6.2 Appendix F (player application settings).
ScanMode
Defined by AVRCP 1.6.2 Appendix F (player application settings).
ShuffleMode
Defined by AVRCP 1.6.2 Appendix F (player application settings).
SystemStatus
Defined by AVRCP 1.6.2 section 6.7.2 (RegisterNotification). Format for EVENT_SYSTEM_STATUS_CHANGED.
TargetAvcError
Status codes for AVRCP specific AV/C commands. Defined in AVRCP 1.6.2 section 6.15.3, Table 6.49. Style note: named exactly as they are in Table 6.49 with the “REJECTED_” prefix.
TargetPassthroughError
Status codes for passthrough responses received from the target.

Constants§

MAX_ATTRIBUTES
The total number of attributes that can be set. The custom attributes + the 4 defined attributes, PlayerApplicationSettingAttributeId. 4 + 127 = 131.
MAX_ATTRIBUTE_VALUES
The maximum number of possible values an attribute can take on. Defined by AVRCP 1.6.2 Sec 6.5.2
MAX_ATTRIBUTE_VALUE_LENGTH
The maximum length of an attribute value in the media attributes. Defined by AVRCP 1.6.2 Sec 6.6.1.
MAX_CUSTOM_ATTRIBUTES
The maximum number of custom attributes that can be used. Defined by AVRCP 1.6.2 Appendix F.
MAX_FILESYSTEM_ITEMS
The maximum number of MediaPlayerItems that can be returned from a call to GetFileSystemItems. This value is arbitrary and is meant to limit the number of items that can be returned. AVRCP 1.6.2, Section 6.10.4.2.2 defines the Number of Items parameter as a uint16.
MAX_MEDIA_PLAYER_ITEMS
The maximum number of MediaPlayerItems that can be returned from a call to GetMediaPlayerItems. This value is arbitrary and is meant to limit the number of items that can be returned. AVRCP 1.6.2, Section 6.10.4.2.2 defines the Number of Items parameter as a uint16.
MAX_NOTIFICATIONS
The maximum number of Notification Event IDs that can be supported by the TG. 0x0E to 0xFF are reserved for future use. Defined by AVRCP 1.6.2 Appendix H.
MAX_NOW_PLAYING_ITEMS
The maximum number of MediaPlayerItems that can be returned from a call to GetFileSystemItems. This value is arbitrary and is meant to limit the number of items that can be returned. AVRCP 1.6.2, Section 6.10.4.2.2 defines the Number of Items parameter as a uint16.
MAX_NUM_MEDIA_ATTRIBUTES
The maximum number of MediaAttributeId that can be returned from a call to GetFileSystemItems or GetNowPlayingItems. This value based on list of media attributes available as per AVRCP 1.6.2, 26 Appendix E: list of media attributes.