API reference

TooltipPosition Interface

Where a Gaze and Hands hover tooltip should appear relative to its target composable.

Signature

interface TooltipPosition

Companion Object

Properties

Auto : TooltipPosition
[Get]
Lets the system choose the tooltip position.
Signature
val Auto: TooltipPosition
Bottom : TooltipPosition
[Get]
Positions the tooltip below the target.
Signature
val Bottom: TooltipPosition
End : TooltipPosition
[Get]
Positions the tooltip at the end edge (right in LTR, left in RTL).
Signature
val End: TooltipPosition
Start : TooltipPosition
[Get]
Positions the tooltip at the start edge (left in LTR, right in RTL).
Signature
val Start: TooltipPosition
Top : TooltipPosition
[Get]
Positions the tooltip above the target.
Signature
val Top: TooltipPosition