Project: /_project.yaml Book: /_book.yaml
Defined in fuchsia.media.sessions2/discovery.fidl
A protocol for clients to control sessions and view their status.
Plays media.
Pauses playback and retains position in media
Stops playback. The session should close.
Seeks to a specific position in media. Implementations are free to enter an error state if the position is out of bounds. position
is an offset from the beginning of the media.
Skips forward in media by the player's default skip amount.
Skips in reverse in media by the player's default skip amount.
Changes media to the next item (e.g. next song in playlist).
Changes media to the previous item.
Sets the playback rate of the media. This will not change the playback mode.
Sets repeat mode to any of the supported repeat modes.
Sets shuffle mode.
Binds to the session's gain control for control and notifications.
Binds to the session's volume control for control and notifications.
Defined in fuchsia.media.sessions2/discovery.fidl
SessionsWatcher
watches the collection of published sessions.
Called by the registry service when a session is updated. On first connection, this will be called as many times as needed to communicate the state of the world.
SessionsWatchers
must reply to acknlowledge receipt of the session info delta. Delinquent watchers who do not reply will eventually be disconnected.
Called by the registry service when a session is removed from the registered collection.
SessionsWatchers
must reply to acknlowledge receipt of the session removal. Delinquent watchers who do not reply will eventually be disconnected.
Defined in fuchsia.media.sessions2/discovery.fidl
Discovery
observes the collection of published media sessions and connects clients to them.
Connects a session watcher configured with the given options.
Connects to a SessionControl
for session_id
if present. Drops the given channel otherwise.
Defined in fuchsia.media.sessions2/player.fidl
Controls for a media player.
Plays media.
Pauses playback and retains position in media
Stops playback. The session should close.
Seeks to a specific position in media. Implementations are free to enter an error state if the position is out of bounds. position
is an offset from the beginning of the media.
Skips forward in media by the player's default skip amount.
Skips in reverse in media by the player's default skip amount.
Changes media to the next item (e.g. next song in playlist).
Changes media to the previous item.
Sets the playback rate of the media. This will not change the playback mode.
Sets repeat mode to any of the supported repeat modes.
Sets shuffle mode.
Binds to the session's gain control for control and notifications.
Binds to the session's volume control for control and notifications.
Defined in fuchsia.media.sessions2/player.fidl
Player
is a handle for a media player. Unsupported commands are no-ops. Consult PlaybackCapabilities
, sent by to learn which commands are supported.
Plays media.
Pauses playback and retains position in media
Stops playback. The session should close.
Seeks to a specific position in media. Implementations are free to enter an error state if the position is out of bounds. position
is an offset from the beginning of the media.
Skips forward in media by the player's default skip amount.
Skips in reverse in media by the player's default skip amount.
Changes media to the next item (e.g. next song in playlist).
Changes media to the previous item.
Sets the playback rate of the media. This will not change the playback mode.
Sets repeat mode to any of the supported repeat modes.
Sets shuffle mode.
Binds to the session's gain control for control and notifications.
Binds to the session's volume control for control and notifications.
Leave hanging to receive a response when the player's status changes.
Defined in fuchsia.media.sessions2/publisher.fidl
Publisher
publishes media players so they may be discovered and controlled by clients who have permission to do so.
Defined in fuchsia.media.sessions2/discovery.fidl
A protocol for clients to control sessions and view their status.
Plays media.
Pauses playback and retains position in media
Stops playback. The session should close.
Seeks to a specific position in media. Implementations are free to enter an error state if the position is out of bounds. position
is an offset from the beginning of the media.
Skips forward in media by the player's default skip amount.
Skips in reverse in media by the player's default skip amount.
Changes media to the next item (e.g. next song in playlist).
Changes media to the previous item.
Sets the playback rate of the media. This will not change the playback mode.
Sets repeat mode to any of the supported repeat modes.
Sets shuffle mode.
Binds to the session's gain control for control and notifications.
Binds to the session's volume control for control and notifications.
Defined in fuchsia.media.sessions2/discovery.fidl
SessionsWatcher
watches the collection of published sessions.
Called by the registry service when a session is updated. On first connection, this will be called as many times as needed to communicate the state of the world.
SessionsWatchers
must reply to acknlowledge receipt of the session info delta. Delinquent watchers who do not reply will eventually be disconnected.
Called by the registry service when a session is removed from the registered collection.
SessionsWatchers
must reply to acknlowledge receipt of the session removal. Delinquent watchers who do not reply will eventually be disconnected.
Defined in fuchsia.media.sessions2/discovery.fidl
Discovery
observes the collection of published media sessions and connects clients to them.
Connects a session watcher configured with the given options.
Connects to a SessionControl
for session_id
if present. Drops the given channel otherwise.
Defined in fuchsia.media.sessions2/player.fidl
Controls for a media player.
Plays media.
Pauses playback and retains position in media
Stops playback. The session should close.
Seeks to a specific position in media. Implementations are free to enter an error state if the position is out of bounds. position
is an offset from the beginning of the media.
Skips forward in media by the player's default skip amount.
Skips in reverse in media by the player's default skip amount.
Changes media to the next item (e.g. next song in playlist).
Changes media to the previous item.
Sets the playback rate of the media. This will not change the playback mode.
Sets repeat mode to any of the supported repeat modes.
Sets shuffle mode.
Binds to the session's gain control for control and notifications.
Binds to the session's volume control for control and notifications.
Defined in fuchsia.media.sessions2/player.fidl
Player
is a handle for a media player. Unsupported commands are no-ops. Consult PlaybackCapabilities
, sent by to learn which commands are supported.
Plays media.
Pauses playback and retains position in media
Stops playback. The session should close.
Seeks to a specific position in media. Implementations are free to enter an error state if the position is out of bounds. position
is an offset from the beginning of the media.
Skips forward in media by the player's default skip amount.
Skips in reverse in media by the player's default skip amount.
Changes media to the next item (e.g. next song in playlist).
Changes media to the previous item.
Sets the playback rate of the media. This will not change the playback mode.
Sets repeat mode to any of the supported repeat modes.
Sets shuffle mode.
Binds to the session's gain control for control and notifications.
Binds to the session's volume control for control and notifications.
Leave hanging to receive a response when the player's status changes.
Defined in fuchsia.media.sessions2/publisher.fidl
Publisher
publishes media players so they may be discovered and controlled by clients who have permission to do so.
Defined in fuchsia.media.sessions2/images.fidl
A variant of an image at a specific size.
Defined in fuchsia.media.sessions2/images.fidl
A variant of an image at a specific size.
Type: uint32
Defined in fuchsia.media.sessions2/images.fidl
Type: uint32
Defined in fuchsia.media.sessions2/player.fidl
The type of content playing back, which should be set to the largest applicable value.
Type: uint32
Defined in fuchsia.media.sessions2/player.fidl
State of a media player.
Type: uint32
Defined in fuchsia.media.sessions2/player.fidl
Type: uint32
Defined in fuchsia.media.sessions2/player.fidl
Modes of repeating playback of the current media.
Type: uint32
Defined in fuchsia.media.sessions2/images.fidl
Type: uint32
Defined in fuchsia.media.sessions2/player.fidl
The type of content playing back, which should be set to the largest applicable value.
Type: uint32
Defined in fuchsia.media.sessions2/player.fidl
State of a media player.
Type: uint32
Defined in fuchsia.media.sessions2/player.fidl
Type: uint32
Defined in fuchsia.media.sessions2/player.fidl
Modes of repeating playback of the current media.
Defined in fuchsia.media.sessions2/discovery.fidl
SessionInfoDelta holds a description of a given session. The first time a client receives this, it is a state of the world. On successive receipts of this table, only the changed fields will be present (this property is not recursive; top-level fields if set are snapshots).
Defined in fuchsia.media.sessions2/discovery.fidl
Defined in fuchsia.media.sessions2/images.fidl
An image for playing media.
Defined in fuchsia.media.sessions2/player.fidl
Status of a media player.
Defined in fuchsia.media.sessions2/player.fidl
PlaybackCapabilities
enumerates the capabilities of a media player, and corresponds to the control commands it can execute.
Defined in fuchsia.media.sessions2/player.fidl
When emitted, fields that have changed should be set. The first emission to a new client should be a snapshot.
Defined in fuchsia.media.sessions2/publisher.fidl
All information required by the media session registry service to register a player so that clients may observe its status and control it.
Defined in fuchsia.media.sessions2/discovery.fidl
SessionInfoDelta holds a description of a given session. The first time a client receives this, it is a state of the world. On successive receipts of this table, only the changed fields will be present (this property is not recursive; top-level fields if set are snapshots).
Defined in fuchsia.media.sessions2/discovery.fidl
Defined in fuchsia.media.sessions2/images.fidl
An image for playing media.
Defined in fuchsia.media.sessions2/player.fidl
Status of a media player.
Defined in fuchsia.media.sessions2/player.fidl
PlaybackCapabilities
enumerates the capabilities of a media player, and corresponds to the control commands it can execute.
Defined in fuchsia.media.sessions2/player.fidl
When emitted, fields that have changed should be set. The first emission to a new client should be a snapshot.
Defined in fuchsia.media.sessions2/publisher.fidl
All information required by the media session registry service to register a player so that clients may observe its status and control it.
Type: uint32
Type: uint32