xg.glass SDK
Toggle table of contents
0.3.0
release
Target filter
release
Switch theme
Search in API
Skip to content
xg.glass SDK
xgglass-device-inmo-runtime
/
com.xgglass.device.inmo.runtime
/
InmoAir3RuntimePolicy
Inmo
Air3Runtime
Policy
object
InmoAir3RuntimePolicy
Pure runtime decisions for the INMO Air3 adapter.
Members
Types
Host
Key
Action
Link copied to clipboard
sealed
class
HostKeyAction
Properties
KEYCODE_
BACK
Link copied to clipboard
const
val
KEYCODE_BACK
:
Int
=
4
KEYCODE_
DPAD_
DOWN
Link copied to clipboard
const
val
KEYCODE_DPAD_DOWN
:
Int
=
20
KEYCODE_
DPAD_
LEFT
Link copied to clipboard
const
val
KEYCODE_DPAD_LEFT
:
Int
=
21
KEYCODE_
DPAD_
RIGHT
Link copied to clipboard
const
val
KEYCODE_DPAD_RIGHT
:
Int
=
22
KEYCODE_
DPAD_
UP
Link copied to clipboard
const
val
KEYCODE_DPAD_UP
:
Int
=
19
KEYCODE_
ENTER
Link copied to clipboard
const
val
KEYCODE_ENTER
:
Int
=
66
KEYCODE_
ONE_
FINGER_
LONG_
PRESS
Link copied to clipboard
const
val
KEYCODE_ONE_FINGER_LONG_PRESS
:
Int
=
289
KEYCODE_
TWO_
FINGER_
LONG_
PRESS
Link copied to clipboard
const
val
KEYCODE_TWO_FINGER_LONG_PRESS
:
Int
=
290
Functions
host
Key
Action
Link copied to clipboard
fun
hostKeyAction
(
keyCode
:
Int
)
:
InmoAir3RuntimePolicy.HostKeyAction
normalize
Rotation
Degrees
Link copied to clipboard
fun
normalizeRotationDegrees
(
raw
:
Int
?
)
:
Int
?