PerceptionFrame.FrameData Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for