Sdílet prostřednictvím


AbstractInputMethodService.AbstractInputMethodSessionImpl.Enabled Property

Definition

Check whether this session has been enabled by the system. -or- Change the enabled state of the session.

public virtual bool Enabled { [Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler")] get; [Android.Runtime.Register("setEnabled", "(Z)V", "GetSetEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler")>]
[<set: Android.Runtime.Register("setEnabled", "(Z)V", "GetSetEnabled_ZHandler")>]
member this.Enabled : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Check whether this session has been enabled by the system. If not enabled, you should not execute any calls on to it.

Java documentation for android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodSessionImpl.isEnabled().

Property setter documentation:

Change the enabled state of the session. This only works if the session has not been revoked.

Java documentation for android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodSessionImpl.setEnabled(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