onProximity

Override this function to be notified about the glasses proximity sensor

If true is returned from the function, the SDK will NOT change the screen on\off state

Return

true if the display state (following the proximity event) was handled by the listener, otherwise false

Parameters

proximity

the proximity state as detected by the glasses

See also