HapticFeedbackType


Constants to be used to perform haptic feedback effects via HapticFeedback.performHapticFeedback.

Summary

Public companion functions

List<HapticFeedbackType>

Returns a list of possible values of HapticFeedbackType.

Cmn

Public companion properties

HapticFeedbackType

A haptic effect to signal the confirmation or successful completion of a user interaction..

Cmn
HapticFeedbackType

The user has performed a context click on an object.

Cmn
HapticFeedbackType

The user has finished a gesture (e.g. on the soft keyboard).

Cmn
HapticFeedbackType

The user is executing a swipe/drag-style gesture, such as pull-to-refresh, where the gesture action is eligible at a certain threshold of movement, and can be cancelled by moving back past the threshold.

Cmn
HapticFeedbackType

The user has performed a long press on an object that is resulting in an action being performed.

Cmn
HapticFeedbackType

A haptic effect to signal the rejection or failure of a user interaction.

Cmn
HapticFeedbackType

The user is switching between a series of many potential choices, for example minutes on a clock face, or individual percentages.

Cmn
HapticFeedbackType

The user is switching between a series of potential choices, for example items in a list or discrete points on a slider.

Cmn
HapticFeedbackType

The user has performed a selection/insertion handle move on text field.

Cmn
HapticFeedbackType

The user has toggled a switch or button into the off position.

Cmn
HapticFeedbackType

The user has toggled a switch or button into the on position.

Cmn
HapticFeedbackType

The user has pressed on a virtual on-screen key.

Cmn

Public constructors

Cmn

Public functions

open String
Cmn

Public companion functions

values

fun values(): List<HapticFeedbackType>

Returns a list of possible values of HapticFeedbackType.

Public companion properties

Confirm

val ConfirmHapticFeedbackType

A haptic effect to signal the confirmation or successful completion of a user interaction..

ContextClick

val ContextClickHapticFeedbackType

The user has performed a context click on an object.

GestureEnd

val GestureEndHapticFeedbackType

The user has finished a gesture (e.g. on the soft keyboard).

GestureThresholdActivate

val GestureThresholdActivateHapticFeedbackType

The user is executing a swipe/drag-style gesture, such as pull-to-refresh, where the gesture action is eligible at a certain threshold of movement, and can be cancelled by moving back past the threshold.

LongPress

val LongPressHapticFeedbackType

The user has performed a long press on an object that is resulting in an action being performed.

Reject

val RejectHapticFeedbackType

A haptic effect to signal the rejection or failure of a user interaction.

SegmentFrequentTick

val SegmentFrequentTickHapticFeedbackType

The user is switching between a series of many potential choices, for example minutes on a clock face, or individual percentages.

SegmentTick

val SegmentTickHapticFeedbackType

The user is switching between a series of potential choices, for example items in a list or discrete points on a slider.

TextHandleMove

val TextHandleMoveHapticFeedbackType

The user has performed a selection/insertion handle move on text field.

ToggleOff

val ToggleOffHapticFeedbackType

The user has toggled a switch or button into the off position.

ToggleOn

val ToggleOnHapticFeedbackType

The user has toggled a switch or button into the on position.

VirtualKey

val VirtualKeyHapticFeedbackType

The user has pressed on a virtual on-screen key.

Public constructors

HapticFeedbackType

HapticFeedbackType(value: Int)

Public functions

toString

open fun toString(): String