Udostępnij za pośrednictwem


IMediaFrame Interface

Definition

Represents a single frame of media data.

public interface class IMediaFrame : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3216322444, 22851, 18392, 142, 16, 5, 48, 138, 165, 251, 208)]
struct IMediaFrame : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3216322444, 22851, 18392, 142, 16, 5, 48, 138, 165, 251, 208)]
public interface IMediaFrame : System.IDisposable
Public Interface IMediaFrame
Implements IDisposable
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Duration

Gets or sets the duration of the media frame.

ExtendedProperties

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

IsDiscontinuous

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

IsReadOnly

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

RelativeTime

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

SystemRelativeTime

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

Type

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

Methods

Dispose()

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

Applies to

See also