MediaFrameSourceController MediaFrameSourceController MediaFrameSourceController MediaFrameSourceController MediaFrameSourceController Class

Definition

Allows you to get and set properties of a MediaFrameSource and to get a VideoDeviceController, which provides camera controls such as exposure, focus, and zoom.

public : sealed class MediaFrameSourceController
struct winrt::Windows::Media::Capture::Frames::MediaFrameSourceController
public sealed class MediaFrameSourceController
Public NotInheritable Class MediaFrameSourceController
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

Get an instance of the MediaFrameSourceController class by accessing the Controller property of a MediaFrameSource.

For how-to guidance on using MediaFrameSource to capture frames, see Process media frames with MediaFrameReader.

Version history

Windows version SDK version Value added
1703 15063 GetPropertyByExtendedIdAsync
1703 15063 SetPropertyByExtendedIdAsync
1803 17134 AudioDeviceController

Properties

AudioDeviceController AudioDeviceController AudioDeviceController AudioDeviceController AudioDeviceController

Gets an AudioDeviceController for a MediaFrameSource, which provides controls such as setting the volume level or muting the audio device.

VideoDeviceController VideoDeviceController VideoDeviceController VideoDeviceController VideoDeviceController

Gets a VideoDeviceController for a MediaFrameSource, which provides camera controls such as exposure, focus, and zoom.

Methods

GetPropertyAsync(String) GetPropertyAsync(String) GetPropertyAsync(String) GetPropertyAsync(String) GetPropertyAsync(String)

Asynchronously gets an object that contains the value of a MediaFrameSource property, if the property value is successfully retrieved, and describes the result status of the get operation.

GetPropertyByExtendedIdAsync(Byte[], IReference<UInt32>) GetPropertyByExtendedIdAsync(Byte[], IReference<UInt32>) GetPropertyByExtendedIdAsync(Byte[], IReference<UInt32>) GetPropertyByExtendedIdAsync(Byte[], IReference<UInt32>) GetPropertyByExtendedIdAsync(Byte[], IReference<UInt32>)

Asynchronously gets the value of the property with the specified ID from a MediaFrameSource, using an extended ID with custom header information and specifying the maximum buffer size required to store the result.

SetPropertyAsync(String, Object) SetPropertyAsync(String, Object) SetPropertyAsync(String, Object) SetPropertyAsync(String, Object) SetPropertyAsync(String, Object)

Asynchronously sets the value of a MediaFrameSource property and returns a MediaFrameSourceSetPropertyStatus object describing the result status of the set operation.

SetPropertyByExtendedIdAsync(Byte[], Byte[]) SetPropertyByExtendedIdAsync(Byte[], Byte[]) SetPropertyByExtendedIdAsync(Byte[], Byte[]) SetPropertyByExtendedIdAsync(Byte[], Byte[]) SetPropertyByExtendedIdAsync(Byte[], Byte[])

Asynchronously sets the value of the property with the specified ID on a MediaFrameSource, using an extended ID with custom header information.

See also