Trait IAudioSessionManager2_Impl
pub trait IAudioSessionManager2_Impl: IAudioSessionManager_Impl {
// Required methods
fn GetSessionEnumerator(&self) -> Result<IAudioSessionEnumerator>;
fn RegisterSessionNotification(
&self,
sessionnotification: Ref<'_, IAudioSessionNotification>,
) -> Result<()>;
fn UnregisterSessionNotification(
&self,
sessionnotification: Ref<'_, IAudioSessionNotification>,
) -> Result<()>;
fn RegisterDuckNotification(
&self,
sessionid: &PCWSTR,
ducknotification: Ref<'_, IAudioVolumeDuckNotification>,
) -> Result<()>;
fn UnregisterDuckNotification(
&self,
ducknotification: Ref<'_, IAudioVolumeDuckNotification>,
) -> Result<()>;
}
Required Methods§
fn GetSessionEnumerator(&self) -> Result<IAudioSessionEnumerator>
fn RegisterSessionNotification( &self, sessionnotification: Ref<'_, IAudioSessionNotification>, ) -> Result<()>
fn UnregisterSessionNotification( &self, sessionnotification: Ref<'_, IAudioSessionNotification>, ) -> Result<()>
fn RegisterDuckNotification( &self, sessionid: &PCWSTR, ducknotification: Ref<'_, IAudioVolumeDuckNotification>, ) -> Result<()>
fn UnregisterDuckNotification( &self, ducknotification: Ref<'_, IAudioVolumeDuckNotification>, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.