MLHeadsetFit
NameSpace: MagicLeap
MLHeadsetFit Summary placeholder. More...
Inherits from:
MLAutoAPISingleton< MLHeadsetFit >,
MLLazySingleton< T >
Detailed Description
public class MLHeadsetFit : MLAutoAPISingleton< MLHeadsetFit >
Details*
MLHeadsetFit description goes here.
Public Methods
MLResult GetState
Gets information about the user's current headset fit.
public static MLResult GetState(
out State state
)
Parameters
| Type | Name | Description |
|---|---|---|
| out State | state | Headset fit state |
Protected Methods
OnApplicationPause
Handle Unity application pause and resume
protected virtual override void OnApplicationPause(
bool pauseStatus
)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | pauseStatus | If the application is now paused or not |
Reimplements: OnApplicationPause
StartAPI
Start the API.
protected virtual override MLResult.Code StartAPI()
Reimplements: StartAPI
StopAPI
Stop the API.
protected virtual override MLResult.Code StopAPI()
Reimplements: StopAPI
Public Enums
Status
Represents the different fit status that the system can report. If status is neither NotWorn nor Unknown, then headset is being worn.
| Enumerator | Value | Description |
|---|---|---|
| Unknown | 0 | Headset fit status not available for unknown reason. |
| NotWorn | Headset not worn. | |
| GoodFit | Good fit. | |
| BadFit | Bad fit. |