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
Type | Name | Description |
---|---|---|
ulong | frameHandle | The handle to the frame to query. |
ref MLWebRTCFrame | frame | Pointer 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.