MediaFrameSourceInfo MediaFrameSourceInfo MediaFrameSourceInfo MediaFrameSourceInfo Class

Definition

Provides information about a MediaFrameSource.

public : sealed class MediaFrameSourceInfo : IMediaFrameSourceInfopublic sealed class MediaFrameSourceInfo : IMediaFrameSourceInfoPublic NotInheritable Class MediaFrameSourceInfo Implements IMediaFrameSourceInfo// You can use this class in JavaScript.
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 this class by accessing the Info property of a MediaFrameSource object or by accessing the SourceInfos property of a MediaFrameSourceGroup object which represents a group of media frame sources..

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

Properties

CoordinateSystem CoordinateSystem CoordinateSystem CoordinateSystem

Gets an object representing the spatial coordinate system in which the data from a MediaFrameSource is expressed.

public : SpatialCoordinateSystem CoordinateSystem { get; }public SpatialCoordinateSystem CoordinateSystem { get; }Public ReadOnly Property CoordinateSystem As SpatialCoordinateSystem// You can use this property in JavaScript.
Value
SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem

An object representing the spatial coordinate system of the media frame source.

DeviceInformation DeviceInformation DeviceInformation DeviceInformation

Gets a DeviceInformation object that can be used to access properties of a MediaFrameSource device.

public : DeviceInformation DeviceInformation { get; }public DeviceInformation DeviceInformation { get; }Public ReadOnly Property DeviceInformation As DeviceInformation// You can use this property in JavaScript.

Id Id Id Id

Gets the unique identifier for a MediaFrameSource. Use this identifier as the key when getting a MediaFrameSource instance from MediaCapture.FrameSources dictionary.

public : PlatForm::String Id { get; }public string Id { get; }Public ReadOnly Property Id As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The unique identifier for a media frame source.

MediaStreamType MediaStreamType MediaStreamType MediaStreamType

Gets a value indicating the stream type of a MediaFrameSource, such as photo, video, or audio.

public : MediaStreamType MediaStreamType { get; }public MediaStreamType MediaStreamType { get; }Public ReadOnly Property MediaStreamType As MediaStreamType// You can use this property in JavaScript.
Value
MediaStreamType MediaStreamType MediaStreamType MediaStreamType

A value indicating the stream type of a media frame source.

Properties Properties Properties Properties

Gets a read-only map of properties for a MediaFrameSource.

public : IMapView<Guid, object> Properties { get; }public IReadOnlyDictionary<Guid, object> Properties { get; }Public ReadOnly Property Properties As IReadOnlyDictionary<Guid, object>// You can use this property in JavaScript.
Value
IMapView<PlatForm::Guid, PlatForm::Object> IReadOnlyDictionary<Guid, object> IReadOnlyDictionary<Guid, object> IReadOnlyDictionary<Guid, object>

A read-only map of properties for a media frame source.

SourceGroup SourceGroup SourceGroup SourceGroup

Gets the MediaFrameSourceGroup to which a MediaFrameSource belongs.

public : MediaFrameSourceGroup SourceGroup { get; }public MediaFrameSourceGroup SourceGroup { get; }Public ReadOnly Property SourceGroup As MediaFrameSourceGroup// You can use this property in JavaScript.
Value
MediaFrameSourceGroup MediaFrameSourceGroup MediaFrameSourceGroup MediaFrameSourceGroup

The group to which a media frame source belongs.

SourceKind SourceKind SourceKind SourceKind

Gets a value indicating the kind of media frames generated by a MediaFrameSource, such as color, depth, or infrared.

public : MediaFrameSourceKind SourceKind { get; }public MediaFrameSourceKind SourceKind { get; }Public ReadOnly Property SourceKind As MediaFrameSourceKind// You can use this property in JavaScript.
Value
MediaFrameSourceKind MediaFrameSourceKind MediaFrameSourceKind MediaFrameSourceKind

A value indicating the kind of media frames generated by a media frame source.

See Also