IMediaDeviceController IMediaDeviceController IMediaDeviceController IMediaDeviceController Interface

Controls device settings on a video camera or microphone.

Syntax

Declaration

public interface IMediaDeviceControllerpublic interface IMediaDeviceControllerPublic Interface IMediaDeviceControllerpublic interface IMediaDeviceController

Methods summary

Gets a list of the supported encoding properties for the device.

Gets the encoding properties for the specified media stream type for the device.

Sets the encoding properties asynchronously for the specified media stream type for the device.

Methods

  • GetAvailableMediaStreamProperties(MediaStreamType)
    GetAvailableMediaStreamProperties(MediaStreamType)
    GetAvailableMediaStreamProperties(MediaStreamType)
    GetAvailableMediaStreamProperties(MediaStreamType)

    Gets a list of the supported encoding properties for the device.

    public IVectorView<IMediaEncodingProperties> GetAvailableMediaStreamProperties(MediaStreamType mediaStreamType)public IVectorView<IMediaEncodingProperties> GetAvailableMediaStreamProperties(MediaStreamType mediaStreamType)Public Function GetAvailableMediaStreamProperties(mediaStreamType As MediaStreamType) As IVectorView( Of IMediaEncodingProperties )public IVectorView<IMediaEncodingProperties> GetAvailableMediaStreamProperties(MediaStreamType mediaStreamType)

    Parameters

    Returns

    • A list of the supported encoding properties.

  • GetMediaStreamProperties(MediaStreamType)
    GetMediaStreamProperties(MediaStreamType)
    GetMediaStreamProperties(MediaStreamType)
    GetMediaStreamProperties(MediaStreamType)

    Gets the encoding properties for the specified media stream type for the device.

    public IMediaEncodingProperties GetMediaStreamProperties(MediaStreamType mediaStreamType)public IMediaEncodingProperties GetMediaStreamProperties(MediaStreamType mediaStreamType)Public Function GetMediaStreamProperties(mediaStreamType As MediaStreamType) As IMediaEncodingPropertiespublic IMediaEncodingProperties GetMediaStreamProperties(MediaStreamType mediaStreamType)

    Parameters

    Returns

  • SetMediaStreamPropertiesAsync(MediaStreamType, IMediaEncodingProperties)
    SetMediaStreamPropertiesAsync(MediaStreamType, IMediaEncodingProperties)
    SetMediaStreamPropertiesAsync(MediaStreamType, IMediaEncodingProperties)
    SetMediaStreamPropertiesAsync(MediaStreamType, IMediaEncodingProperties)

    Sets the encoding properties asynchronously for the specified media stream type for the device.

    public IAsyncAction SetMediaStreamPropertiesAsync(MediaStreamType mediaStreamType, IMediaEncodingProperties mediaEncodingProperties)public IAsyncAction SetMediaStreamPropertiesAsync(MediaStreamType mediaStreamType, IMediaEncodingProperties mediaEncodingProperties)Public Function SetMediaStreamPropertiesAsync(mediaStreamType As MediaStreamType, mediaEncodingProperties As IMediaEncodingProperties) As IAsyncActionpublic IAsyncAction SetMediaStreamPropertiesAsync(MediaStreamType mediaStreamType, IMediaEncodingProperties mediaEncodingProperties)

    Parameters

    Returns

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.GuidAttribute

Details

Assembly

Windows.Media.Devices.dll