pub trait IAudioSessionControl_Impl: Sized {
    // Required methods
    fn GetState(&self) -> Result<AudioSessionState>;
    fn GetDisplayName(&self) -> Result<PWSTR>;
    fn SetDisplayName(
        &self,
        value: &PCWSTR,
        eventcontext: *const GUID
    ) -> Result<()>;
    fn GetIconPath(&self) -> Result<PWSTR>;
    fn SetIconPath(
        &self,
        value: &PCWSTR,
        eventcontext: *const GUID
    ) -> Result<()>;
    fn GetGroupingParam(&self) -> Result<GUID>;
    fn SetGroupingParam(
        &self,
        override: *const GUID,
        eventcontext: *const GUID
    ) -> Result<()>;
    fn RegisterAudioSessionNotification(
        &self,
        newnotifications: Option<&IAudioSessionEvents>
    ) -> Result<()>;
    fn UnregisterAudioSessionNotification(
        &self,
        newnotifications: Option<&IAudioSessionEvents>
    ) -> Result<()>;
}

Required Methods§

fn GetState(&self) -> Result<AudioSessionState>

fn GetDisplayName(&self) -> Result<PWSTR>

fn SetDisplayName( &self, value: &PCWSTR, eventcontext: *const GUID ) -> Result<()>

fn GetIconPath(&self) -> Result<PWSTR>

fn SetIconPath(&self, value: &PCWSTR, eventcontext: *const GUID) -> Result<()>

fn GetGroupingParam(&self) -> Result<GUID>

fn SetGroupingParam( &self, override: *const GUID, eventcontext: *const GUID ) -> Result<()>

fn RegisterAudioSessionNotification( &self, newnotifications: Option<&IAudioSessionEvents> ) -> Result<()>

fn UnregisterAudioSessionNotification( &self, newnotifications: Option<&IAudioSessionEvents> ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§