Skip to main content
Version: 20 Mar 2024

NativeBindings

Native bindings for the MLWebRTC.Frame struct.

Inherits from:
MagicLeapNativeBindings

Public Methods

MLResult.Code MLWebRTCFrameGetData

Gets frame data.

public MLResult.Code MLWebRTCFrameGetData(
ulong frameHandle,
ref MLWebRTCFrame frame
)

Parameters

TypeNameDescription
ulongframeHandleThe handle to the frame to query.
ref MLWebRTCFrameframePointer to the frame data.

Returns: MLResult.Result will be MLResult.Code.Ok if the dimensions were successfully obtained. MLResult.Result will be MLResult.Code.PermissionDenied if necessary permission is missing. MLResult.Result will be MLResult.Code.UnspecifiedFailure if failed due to other internal error.