IMediaDeviceController
IMediaDeviceController
IMediaDeviceController
IMediaDeviceController
Interface
Definition
Controls device settings on a video camera or microphone.
public : interface IMediaDeviceControllerpublic interface IMediaDeviceControllerPublic Interface IMediaDeviceController// You can use this interface in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
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 IReadOnlyList<IMediaEncodingProperties> GetAvailableMediaStreamProperties(MediaStreamType mediaStreamType)Public Function GetAvailableMediaStreamProperties(mediaStreamType As MediaStreamType) As IReadOnlyList( Of IMediaEncodingProperties )// You can use this method in JavaScript.
Parameters
- mediaStreamType
- MediaStreamType MediaStreamType MediaStreamType MediaStreamType
The type of media stream for which to get the properties.
Returns
IVectorView<IMediaEncodingProperties>
IReadOnlyList<IMediaEncodingProperties>
IReadOnlyList<IMediaEncodingProperties>
IReadOnlyList<IMediaEncodingProperties>
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 IMediaEncodingProperties// You can use this method in JavaScript.
Parameters
- mediaStreamType
- MediaStreamType MediaStreamType MediaStreamType MediaStreamType
The type of media stream for which to get the properties.
Returns
The encoding properties.
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 IAsyncAction// You can use this method in JavaScript.
Parameters
- mediaStreamType
- MediaStreamType MediaStreamType MediaStreamType MediaStreamType
The type of media stream for which to set the properties.
- mediaEncodingProperties
- IMediaEncodingProperties IMediaEncodingProperties IMediaEncodingProperties IMediaEncodingProperties
The encoding properties to set.
Returns
An IAsyncAction object that is used to control the asynchronous operation.