-
public class RotaryHapticsType.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final RotaryHapticsTypeScrollTickprivate final RotaryHapticsTypeScrollItemFocusprivate final RotaryHapticsTypeScrollLimitpublic final static RotaryHapticsType.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final RotaryHapticsTypegetScrollTick()A scroll ticking haptic. final RotaryHapticsTypegetScrollItemFocus()An item focus (snap) haptic. final RotaryHapticsTypegetScrollLimit()A limit(overscroll) haptic. -
-
Method Detail
-
getScrollTick
final RotaryHapticsType getScrollTick()
A scroll ticking haptic. Similar to texture haptic - performed each time when a scrollable content is scrolled by a certain distance
-
getScrollItemFocus
final RotaryHapticsType getScrollItemFocus()
An item focus (snap) haptic. Performed when a scrollable content is snapped to a specific item.
-
getScrollLimit
final RotaryHapticsType getScrollLimit()
A limit(overscroll) haptic. Performed when a list reaches the limit (start or end) and can't scroll further
-
-
-
-