IMFSensorGroup interface

Represents a group of sensor devices from which an IMFMediaSource can be created. The term "device" in this context could refer to a physical device, a custom media source, or a frame provider. A sensor group may actually contain multiple sensor devices, or it could contain only a single device, but it still behaves as a sensor group.

Members

The IMFSensorGroup interface inherits from the IUnknown interface. IMFSensorGroup also has these types of members:

Methods

The IMFSensorGroup interface has these methods.

MethodDescription
CreateMediaSource

Creates an IMFMediaSource that virtualizes the sensor group. The term "device" in this context could refer to a physical device or a software media source. The source can represent a sensor group that actually contains multiple sensor devices, or it could contain only a single device, but still behaves as a sensor group.

GetDefaultSensorDeviceIndex

Retrieves the index of the default device in the sensor group.

GetFlags

Gets the flags set for the sensor group.

GetSensorDevice

Gets the IMFSensorDevice corresponding to a device in the sensor group.

GetSensorDeviceCount

Gets the number of devices that are virtualized by the sensor group.

GetSensorGroupAttributes

Gets the IMFAttributes for the sensor group. The returned object is a live reference to the internal attribute store.

GetSymbolicLink

Gets the symbolic link name of the sensor group.

SetDefaultSensorDeviceIndex

Configures one of the devices in the sensor group as the default device.

 

Requirements

Minimum supported client

Windows 10, version 1607 [desktop apps only]

Minimum supported server

None supported

Header

Mfidl.h

Library

Mfplat.lib;
Mfplat.dll

 

 

Show: