IMediaDeviceController.SetMediaStreamPropertiesAsync(MediaStreamType, IMediaEncodingProperties) IMediaDeviceController.SetMediaStreamPropertiesAsync(MediaStreamType, IMediaEncodingProperties) IMediaDeviceController.SetMediaStreamPropertiesAsync(MediaStreamType, IMediaEncodingProperties) IMediaDeviceController.SetMediaStreamPropertiesAsync(MediaStreamType, IMediaEncodingProperties) IMediaDeviceController.SetMediaStreamPropertiesAsync(MediaStreamType, IMediaEncodingProperties) Method

Definition

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

public : IAsyncAction SetMediaStreamPropertiesAsync(MediaStreamType mediaStreamType, IMediaEncodingProperties mediaEncodingProperties)
IAsyncAction SetMediaStreamPropertiesAsync(MediaStreamType mediaStreamType, IMediaEncodingProperties mediaEncodingProperties) const;
public IAsyncAction SetMediaStreamPropertiesAsync(MediaStreamType mediaStreamType, IMediaEncodingProperties mediaEncodingProperties)
Public Function SetMediaStreamPropertiesAsync(mediaStreamType As MediaStreamType, mediaEncodingProperties As IMediaEncodingProperties) As IAsyncAction
Windows.Media.Devices.IMediaDeviceController.setMediaStreamPropertiesAsync(mediaStreamType, mediaEncodingProperties).done( /* Your success and error handlers */ );

Parameters

mediaStreamType
MediaStreamType MediaStreamType MediaStreamType

The type of media stream for which to set the properties.

mediaEncodingProperties
IMediaEncodingProperties IMediaEncodingProperties IMediaEncodingProperties

The encoding properties to set.

Returns

An IAsyncAction object that is used to control the asynchronous operation.