Język

MultisensoryManagerToken Enum

Definition

Identifies the feedback requested from MultisensoryManager.

public enum MultisensoryManagerToken
type MultisensoryManagerToken = 
Inheritance
MultisensoryManagerToken

Fields

Name Value Description
FailureHighEmphasis 0

Emphasized feedback for an action that failed to complete.

Failure 1

Feedback for an action that failed to complete.

Success 2

Feedback for an action that completes successfully.

Start 3

Feedback for the start of an intended action.

Pause 4

Feedback for an ongoing action that pauses.

Stop 5

Feedback for an action that stops after it was started.

Cancel 6

Feedback for cancellation of an action that was already started.

SwitchOn 7

Feedback for an interactive component that switches on.

SwitchOff 8

Feedback for an interactive component that switches off.

Unlock 9

Feedback for a device that changes to the unlocked state.

Lock 10

Feedback for a device that changes to the locked state.

LongPress 11

Feedback for an action caused by a long-press gesture.

SwipeIndicatorThresholdLimit 12

Inform the user that their swipe gesture has crossed a threshold. This indicates that the swipe action beyond the threshold will activate when the swipe is completed.

Android reference for android.os.multisensory.MultisensoryManager.TOKEN_SWIPE_INDICATOR_THRESHOLD_LIMIT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

TapHighEmphasis 13

Feedback for a tap on a high-emphasis user interface element.

TapMediumEmphasis 14

Feedback for a selection caused by a tap.

TapLowEmphasis 15

Played when a user taps on any UI element that can be interacted with but is not otherwise defined.

Android reference for android.os.multisensory.MultisensoryManager.TOKEN_TAP_LOW_EMPHASIS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

DragIndicatorThresholdLimit 16

Feedback for a drag gesture that reaches a minimum or maximum value.

DragIndicatorContinuous 17

Inform the user that their drag gesture has resulted in an incremental value change.

This token can be used to create a continuous effect affected by MultisensoryContinuousEffectModifier

Android reference for android.os.multisensory.MultisensoryManager.TOKEN_DRAG_INDICATOR_CONTINUOUS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

DragIndicatorDiscrete 18

Inform the user that their drag gesture has resulted in a stepped value change.

This token can be used to create a continuous effect affected by MultisensoryContinuousEffectModifier

Android reference for android.os.multisensory.MultisensoryManager.TOKEN_DRAG_INDICATOR_DISCRETE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

KeyPressStandard 19

Feedback for a touch on a keyboard key without a specific feedback token.

KeyPressSpacebar 20

Feedback for a touch on the Space key.

KeyPressReturn 21

Feedback for a touch on the Return key.

KeyPressDelete 22

Feedback for a touch on the Delete key.

Remarks

Pass one of these values to PlayToken(MultisensoryManagerToken) to request feedback for a user action.

Applies to