{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

HapticFeedbackType.Companion

public static class HapticFeedbackType.Companion


Summary

Public methods

static final @NonNull HapticFeedbackType

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

static final @NonNull HapticFeedbackType

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

static final @NonNull List<@NonNull HapticFeedbackType>

Returns a list of possible values of HapticFeedbackType.

Public methods

getLongPress

public static final @NonNull HapticFeedbackType getLongPress()

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

getTextHandleMove

public static final @NonNull HapticFeedbackType getTextHandleMove()

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

values

public static final @NonNull List<@NonNull HapticFeedbackTypevalues()

Returns a list of possible values of HapticFeedbackType.