NativeBindings
Public Methods
MLResult.Code MLEyeTrackingGetStaticData
Gets static information about the eye tracker
public MLResult.Code MLEyeTrackingGetStaticData(
ulong handle,
ref MLEyeTrackingStaticData outData
)
Parameters
Type | Name | Description |
---|---|---|
ulong | handle | A handle to an Eye Tracker retrievced from GetEyeTrackerHandle() |
ref MLEyeTrackingStaticData | outData | Target to populate the data about the eye tracker |
Returns: MLResult.Result will be MLResult.Code.InvalidParam if the out_data param was not valid (null). MLResult.Result will be MLResult.Code.Ok if eye tracking static data was successfully received. MLResult.Result will be MLResult.Code.UnspecifiedFailure if failed to retrieve eye tracking static data.
bool TryGetTrackingState
public static bool TryGetTrackingState(
InputDevice eyesDevice,
out State state
)
Parameters
Type | Name | Description |
---|---|---|
InputDevice | eyesDevice | |
out State | state |