Skip to main content
Version: 12 Dec 2024

NativeBindings

See ml_headset_fit.h for additional comments.

Inherits from:
MagicLeapNativeBindings

Public Methods

MLResult.Code MLHeadsetFitCreateClient

Creates a headset fit client.

public MLResult.Code MLHeadsetFitCreateClient(
out ulong handle
)

Parameters

TypeNameDescription
out ulonghandle

MLResult.Code MLHeadsetFitDestroyClient

Destroys headset fit client.

public MLResult.Code MLHeadsetFitDestroyClient(
ulong handle
)

Parameters

TypeNameDescription
ulonghandle

MLResult.Code MLHeadsetFitGetState

Gets information about the user's current headset fit.

public MLResult.Code MLHeadsetFitGetState(
ulong handle,
out MLHeadsetFitState state
)

Parameters

TypeNameDescription
ulonghandle
out MLHeadsetFitStatestate