语言

HapticFeedbackConstants.ToggleOn 字段

定义

注意

This constant will be removed in the future version. Use Android.Views.FeedbackConstants enum directly instead of this field.

用户已将开关或按钮切换到 On 位置。

[Android.Runtime.Register("TOGGLE_ON", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.FeedbackConstants enum directly instead of this field.", true)]
public const Android.Views.FeedbackConstants ToggleOn = 21;
[<Android.Runtime.Register("TOGGLE_ON", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.FeedbackConstants enum directly instead of this field.", true)>]
val mutable ToggleOn : Android.Views.FeedbackConstants

字段值

Value = 21
特性

注解

用户已将开关或按钮切换到 On 位置。

Java文档android.view.HapticFeedbackConstants.TOGGLE_ON。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于