HapticFeedbackRequest.FeedbackConstant 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回用于定义此请求要播放的振动效果的触觉反馈常量。
public int FeedbackConstant { [Android.Runtime.Register("getFeedbackConstant", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getFeedbackConstant", "()I", "", ApiSince=36)>]
member this.FeedbackConstant : int
属性值
值为下列值之一:HapticFeedbackConstants.NO_HAPTICS;HapticFeedbackConstants.LONG_PRESS;HapticFeedbackConstants.VIRTUAL_KEY;HapticFeedbackConstants.KEYBOARD_TAP;HapticFeedbackConstants.CLOCK_TICK;HapticFeedbackConstants.CONTEXT_CLICK;HapticFeedbackConstants.KEYBOARD_RELEASE;HapticFeedbackConstants.VIRTUAL_KEY_RELEASE;HapticFeedbackConstants.TEXT_HANDLE_MOVE;HapticFeedbackConstants.GESTURE_START;HapticFeedbackConstants.GESTURE_END;HapticFeedbackConstants.CONFIRM;HapticFeedbackConstants.REJECT;HapticFeedbackConstants.TOGGLE_ON;HapticFeedbackConstants.TOGGLE_OFF;HapticFeedbackConstants.GESTURE_THRESHOLD_ACTIVATE;HapticFeedbackConstants.GESTURE_THRESHOLD_DEACTIVATE;HapticFeedbackConstants.DRAG_START;HapticFeedbackConstants.SEGMENT_TICK;HapticFeedbackConstants.SEGMENT_FREQUENT_TICK
- 特性
注解
返回用于定义此请求要播放的振动效果的触觉反馈常量。
Java文档android.os.vibrator.HapticFeedbackRequest.getFeedbackConstant()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。