windows::Media::Devices

Trait IMediaDeviceController_Impl

pub trait IMediaDeviceController_Impl: IUnknownImpl {
    // Required methods
    fn GetAvailableMediaStreamProperties(
        &self,
        mediaStreamType: MediaStreamType,
    ) -> Result<IVectorView<IMediaEncodingProperties>>;
    fn GetMediaStreamProperties(
        &self,
        mediaStreamType: MediaStreamType,
    ) -> Result<IMediaEncodingProperties>;
    fn SetMediaStreamPropertiesAsync(
        &self,
        mediaStreamType: MediaStreamType,
        mediaEncodingProperties: Ref<'_, IMediaEncodingProperties>,
    ) -> Result<IAsyncAction>;
}

Required Methods§

fn GetAvailableMediaStreamProperties( &self, mediaStreamType: MediaStreamType, ) -> Result<IVectorView<IMediaEncodingProperties>>

fn GetMediaStreamProperties( &self, mediaStreamType: MediaStreamType, ) -> Result<IMediaEncodingProperties>

fn SetMediaStreamPropertiesAsync( &self, mediaStreamType: MediaStreamType, mediaEncodingProperties: Ref<'_, IMediaEncodingProperties>, ) -> Result<IAsyncAction>

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.

Implementors§