Share via


HapticFeedbackConstants.ToggleOn Field

Definition

Caution

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

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

[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

Field Value

Value = 21
Attributes

Remarks

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

Java documentation for android.view.HapticFeedbackConstants.TOGGLE_ON.

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.

Applies to