Condividi tramite


Slice.SubtypeToggle Field

Definition

Subtype to indicate that this content has a toggle action associated with it.

[Android.Runtime.Register("SUBTYPE_TOGGLE", ApiSince=28)]
public const string SubtypeToggle;
[<Android.Runtime.Register("SUBTYPE_TOGGLE", ApiSince=28)>]
val mutable SubtypeToggle : string

Field Value

Implements

Attributes

Remarks

Subtype to indicate that this content has a toggle action associated with it. To indicate that the toggle is on, use #HINT_SELECTED. When the toggle state changes, the intent associated with it will be sent along with an extra #EXTRA_TOGGLE_STATE which can be retrieved to see the new state of the toggle.

Java documentation for android.app.slice.Slice.SUBTYPE_TOGGLE.

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