Namespaces
Enumerations
enum class MediaImageType : uint32_t
| Name | Value | Comments |
|---|---|---|
| kArtwork | 0u |
Artwork for the playing media. |
| kSourceIcon | 1u |
An icon for the source of the playing media (e.g. the player or |
Defined at line 146 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/cpp/fidl/fuchsia.media.sessions2/cpp/common_types.h
enum class ContentType : uint32_t
| Name | Value | Comments |
|---|---|---|
| kOther | 1u |
Content does not qualify for any of the other values. |
| kAudio | 2u |
Audio-only content that does not qualify as music. |
| kVideo | 3u |
Video-only or audio-video content that does not qualify as a TV show or a movie. |
| kMusic | 4u |
Audio-only content generally recognized as music. |
| kTvShow | 5u |
Audio-video content that is part of a television or streaming series. |
| kMovie | 6u |
Audio-video content consisting of a feature film. |
The type of content playing back, which should be set to the largest
applicable value.
Defined at line 174 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/cpp/fidl/fuchsia.media.sessions2/cpp/common_types.h
enum class PlayerState : uint32_t
| Name | Value | Comments |
|---|---|---|
| kIdle | 0u |
The initial state of a session if there is no associated media. |
| kPlaying | 1u |
The player is playing. |
| kPaused | 2u |
The player is paused. |
| kBuffering | 3u |
The player would be playing, but is temporarily paused for buffering. |
| kError | 4u |
The player cannot recover from this state and will close. |
State of a media player.
Defined at line 212 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/cpp/fidl/fuchsia.media.sessions2/cpp/common_types.h
enum class Error : uint32_t
| Name | Value |
|---|---|
| kOther | 1u |
Defined at line 246 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/cpp/fidl/fuchsia.media.sessions2/cpp/common_types.h
enum class RepeatMode : uint32_t
| Name | Value | Comments |
|---|---|---|
| kOff | 0u |
No repeat. |
| kGroup | 1u |
Repeat the relevant group of media (e.g. playlist). |
| kSingle | 2u |
Repeat the currently playing media. |
Modes of repeating playback of the current media.
Defined at line 268 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/cpp/fidl/fuchsia.media.sessions2/cpp/common_types.h
enum class InterruptionBehavior : uint32_t
| Name | Value | Comments |
|---|---|---|
| kNone | 0u |
Interruptions have no effect on the player |
| kPause | 1u |
With this behavior, when playback is interrupted, the player |
The behavior enforced on the player when it is
interrupted, such as by an alarm.
Interruptions are detected using the player's usage.
By default the interruption behavior is `NONE`.
Defined at line 302 of file fidling/gen/sdk/fidl/fuchsia.media.sessions2/fuchsia.media.sessions2/cpp/fidl/fuchsia.media.sessions2/cpp/common_types.h
Records
-
class ActiveSession -
class ActiveSessionWatchActiveSessionResponse -
class Discovery -
class DiscoveryConnectToSessionRequest -
class DiscoveryWatchSessionsRequest -
class ImageSizeVariant -
class MediaImage -
class ObserverDiscovery -
class ObserverDiscoveryConnectToSessionRequest -
class ObserverDiscoveryWatchSessionsRequest -
class Player -
class PlayerCapabilities -
class PlayerCapabilityFlags -
class PlayerControl -
class PlayerControlBindVolumeControlRequest -
class PlayerControlSeekRequest -
class PlayerControlSetPlaybackRateRequest -
class PlayerControlSetRepeatModeRequest -
class PlayerControlSetShuffleModeRequest -
class PlayerInfoDelta -
class PlayerRegistration -
class PlayerStatus -
class PlayerWatchInfoChangeResponse -
class Publisher -
class PublisherPublishRequest -
class PublisherPublishResponse -
class SessionControl -
class SessionControlBindVolumeControlRequest -
class SessionControlSeekRequest -
class SessionControlSetPlaybackRateRequest -
class SessionControlSetRepeatModeRequest -
class SessionControlSetShuffleModeRequest -
class SessionControlWatchStatusResponse -
class SessionInfoDelta -
class SessionObserver -
class SessionObserverWatchStatusResponse -
class SessionsWatcher -
class SessionsWatcherSessionRemovedRequest -
class SessionsWatcherSessionUpdatedRequest -
class WatchOptions