pub struct SessionInfoDelta {
pub domain: Option<String>,
pub is_local: Option<bool>,
pub is_locally_active: Option<bool>,
pub player_status: Option<PlayerStatus>,
pub metadata: Option<Metadata>,
pub media_images: Option<Vec<MediaImage>>,
pub player_capabilities: Option<PlayerCapabilities>,
/* private fields */
}Expand description
SessionInfoDelta holds a description of a media session.
Fields§
§domain: Option<String>The domain on which the session takes place. A domain identifies a set of mutually compatible media targets and sessions; sessions on a domain may be played back on targets of the same domain.
This field is always present.
is_local: Option<bool>Whether the source of the media playback is on this device.
This field is present only if known.
is_locally_active: Option<bool>If this is true, the playback is taking place local to the device.
Playing on the device speaker is local, playing on a remote speaker
is not. This is only set when the session is playing back; a paused
session is not active.
This field is always present.
player_status: Option<PlayerStatus>The status of the player.
This field is always present.
metadata: Option<Metadata>Metadata describing the media session.
This field is always present.
media_images: Option<Vec<MediaImage>>Images associated with the media or its source.
This field is always present.
player_capabilities: Option<PlayerCapabilities>The capabilities the player of the media implements.
This field is always present.
Trait Implementations§
Source§impl Clone for SessionInfoDelta
impl Clone for SessionInfoDelta
Source§impl Debug for SessionInfoDelta
impl Debug for SessionInfoDelta
Source§impl<D: ResourceDialect> Decode<SessionInfoDelta, D> for SessionInfoDelta
impl<D: ResourceDialect> Decode<SessionInfoDelta, D> for SessionInfoDelta
Source§impl Default for SessionInfoDelta
impl Default for SessionInfoDelta
Source§impl<D: ResourceDialect> Encode<SessionInfoDelta, D> for &SessionInfoDelta
impl<D: ResourceDialect> Encode<SessionInfoDelta, D> for &SessionInfoDelta
Source§impl PartialEq for SessionInfoDelta
impl PartialEq for SessionInfoDelta
impl Persistable for SessionInfoDelta
impl StructuralPartialEq for SessionInfoDelta
Source§impl TypeMarker for SessionInfoDelta
impl TypeMarker for SessionInfoDelta
Source§type Owned = SessionInfoDelta
type Owned = SessionInfoDelta
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for SessionInfoDelta
impl ValueTypeMarker for SessionInfoDelta
Source§type Borrowed<'a> = &'a SessionInfoDelta
type Borrowed<'a> = &'a SessionInfoDelta
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read more