FaceDetectionEffectFrame FaceDetectionEffectFrame FaceDetectionEffectFrame FaceDetectionEffectFrame FaceDetectionEffectFrame Class


Represents a video frame that includes a list of faces detected by the FaceDetectionEffect.

public : sealed class FaceDetectionEffectFrame : IClosable, IMediaFrame
struct winrt::Windows::Media::Core::FaceDetectionEffectFrame : IClosable, IMediaFrame
public sealed class FaceDetectionEffectFrame : IDisposable, IMediaFrame
Public NotInheritable Class FaceDetectionEffectFrame Implements IDisposable, IMediaFrame
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Get an instance of this class by accessing the FaceDetectedEventArgs.ResultFrame.


DetectedFaces DetectedFaces DetectedFaces DetectedFaces DetectedFaces

Gets the list of objects representing the faces detected in the frame.

Duration Duration Duration Duration Duration

Gets or sets the duration of the face detection effect frame.

ExtendedProperties ExtendedProperties ExtendedProperties ExtendedProperties ExtendedProperties

Gets the extended property set which enables getting and setting properties on the media frame.

IsDiscontinuous IsDiscontinuous IsDiscontinuous IsDiscontinuous IsDiscontinuous

Gets or sets a value that indicates whether a video frame is the first frame after a gap in the stream.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets a value indicating whether the frame is read-only.

RelativeTime RelativeTime RelativeTime RelativeTime RelativeTime

Gets or sets the relative time of the frame within the video stream.

SystemRelativeTime SystemRelativeTime SystemRelativeTime SystemRelativeTime SystemRelativeTime

Gets or sets a timestamp that is relative to the system and is correlatable across multiple media sources on the same device.

Type Type Type Type Type

Gets a string indicating the type of data the frame contains.


Close() Close() Close() Close() Close()

Disposes of the object and associated resources.

Dispose() Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

See also