BooleanAction.NewState Property

Definition

The new state set for the button in the corresponding ToggleTemplate.

public bool NewState { [Android.Runtime.Register("getNewState", "()Z", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getNewState", "()Z", "", ApiSince=30)>]
member this.NewState : bool

Property Value

true if the button was toggled from unchecked to checked.

Attributes

Remarks

The new state set for the button in the corresponding ToggleTemplate.

Java documentation for android.service.controls.actions.BooleanAction.getNewState().

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