Share via


PerceptionFrame.FrameData Property

Definition

The actual bytes of the frame which can be consumed as described by the Properties of the IPerceptionFrameProvider which produced the frame.

public:
 property IMemoryBuffer ^ FrameData { IMemoryBuffer ^ get(); };
IMemoryBuffer FrameData();
/// [get: Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IMemoryBuffer FrameData();
public IMemoryBuffer FrameData { get; }
public IMemoryBuffer FrameData { [Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; }
var iMemoryBuffer = perceptionFrame.frameData;
Public ReadOnly Property FrameData As IMemoryBuffer

Property Value

The bytes of the frames.

Attributes

Remarks

To write to these bytes, one can use Windows::Foundation::IMemoryBuffer::CreateReference() to create a Windows::Foundation::IMemoryBufferReference. That can then be converted to a Windows::Foundation::IMemoryBufferByteAccess and call GetBuffer() on that to get to the raw byte buffer.

Applies to