Skip to main content
Version: 20 Mar 2024

NativeBindings

General media native bindings.

Inherits from:
MagicLeapNativeBindings

Public Methods

string GetResultString

Gets the result string for a MLResult.Code.

public static string GetResultString(
MLResult.Code resultCode
)

Parameters

TypeNameDescription
MLResult.CoderesultCodeThe MLResult.Code to be requested.

Returns: The result string.


IntPtr MLMediaResultGetString

Gets a readable version of the result code as an ASCII string.

public IntPtr MLMediaResultGetString(
MLResult.Code result
)

Parameters

TypeNameDescription
MLResult.CoderesultThe MLResult.Code that should be converted.

Returns: ASCII string containing a readable version of the result code.