Sdílet prostřednictvím


RestrictionEntry.SelectedState Property

Definition

Returns the current selected state for an entry of type #TYPE_BOOLEAN. -or- Sets the current selected state for an entry of type #TYPE_BOOLEAN.

public virtual bool SelectedState { [Android.Runtime.Register("getSelectedState", "()Z", "GetGetSelectedStateHandler")] get; [Android.Runtime.Register("setSelectedState", "(Z)V", "GetSetSelectedState_ZHandler")] set; }
[<get: Android.Runtime.Register("getSelectedState", "()Z", "GetGetSelectedStateHandler")>]
[<set: Android.Runtime.Register("setSelectedState", "(Z)V", "GetSetSelectedState_ZHandler")>]
member this.SelectedState : bool with get, set

Property Value

the current selected state of the entry.

Attributes

Remarks

Property getter documentation:

Returns the current selected state for an entry of type #TYPE_BOOLEAN.

Java documentation for android.content.RestrictionEntry.getSelectedState().

Property setter documentation:

Sets the current selected state for an entry of type #TYPE_BOOLEAN. This value will be persisted by the system for later use by the application.

Java documentation for android.content.RestrictionEntry.setSelectedState(boolean).

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