pub enum ActivityReporterRequest {
WatchRenderActivity {
responder: ActivityReporterWatchRenderActivityResponder,
},
WatchCaptureActivity {
responder: ActivityReporterWatchCaptureActivityResponder,
},
}
Expand description
A protocol for monitoring the usage activity of the AudioRenderers and AudioCapturers.
Variants§
WatchRenderActivity
Notifies the client whenever there is a change in the set of active AudioRenderUsages. It returns immediately the first time that it is called.
Fields
WatchCaptureActivity
Notifies the client whenever there is a change in the set of active AudioCaptureUsages. It returns immediately the first time that it is called.
Fields
Implementations§
Source§impl ActivityReporterRequest
impl ActivityReporterRequest
pub fn into_watch_render_activity( self, ) -> Option<ActivityReporterWatchRenderActivityResponder>
pub fn into_watch_capture_activity( self, ) -> Option<ActivityReporterWatchCaptureActivityResponder>
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 ActivityReporterRequest
impl !RefUnwindSafe for ActivityReporterRequest
impl Send for ActivityReporterRequest
impl Sync for ActivityReporterRequest
impl Unpin for ActivityReporterRequest
impl !UnwindSafe for ActivityReporterRequest
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