pub enum SessionAudioConsumerFactoryRequest {
CreateAudioConsumer {
session_id: u64,
audio_consumer_request: ServerEnd<AudioConsumerMarker>,
control_handle: SessionAudioConsumerFactoryControlHandle,
},
}
Expand description
Interface for creating audio consumers bound to a session.
Variants§
CreateAudioConsumer
Creates an AudioConsumer
, which is an interface for playing audio, bound
to a particular session. session_id
is the identifier of the media session
for which audio is to be rendered.
Fields
§
audio_consumer_request: ServerEnd<AudioConsumerMarker>
§
control_handle: SessionAudioConsumerFactoryControlHandle
Implementations§
Source§impl SessionAudioConsumerFactoryRequest
impl SessionAudioConsumerFactoryRequest
pub fn into_create_audio_consumer( self, ) -> Option<(u64, ServerEnd<AudioConsumerMarker>, SessionAudioConsumerFactoryControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionAudioConsumerFactoryRequest
impl !RefUnwindSafe for SessionAudioConsumerFactoryRequest
impl Send for SessionAudioConsumerFactoryRequest
impl Sync for SessionAudioConsumerFactoryRequest
impl Unpin for SessionAudioConsumerFactoryRequest
impl !UnwindSafe for SessionAudioConsumerFactoryRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more