Share via


InputMethodService.BackDisposition Property

Definition

Retrieves the current disposition mode that indicates the expected back button affordance. -or- Sets the disposition mode that indicates the expected affordance for the back button.

public virtual Android.InputMethodServices.BackDisposition BackDisposition { [Android.Runtime.Register("getBackDisposition", "()I", "GetGetBackDispositionHandler")] get; [Android.Runtime.Register("setBackDisposition", "(I)V", "GetSetBackDisposition_IHandler")] set; }
[<get: Android.Runtime.Register("getBackDisposition", "()I", "GetGetBackDispositionHandler")>]
[<set: Android.Runtime.Register("setBackDisposition", "(I)V", "GetSetBackDisposition_IHandler")>]
member this.BackDisposition : Android.InputMethodServices.BackDisposition with get, set

Property Value

currently selected disposition mode

Attributes

Remarks

Property getter documentation:

Retrieves the current disposition mode that indicates the expected back button affordance.

Java documentation for android.inputmethodservice.InputMethodService.getBackDisposition().

Property setter documentation:

Sets the disposition mode that indicates the expected affordance for the back button.

Keep in mind that specifying this flag does not change the the default behavior of #onKeyDown(int, KeyEvent). It is IME developers' responsibility for making sure that their custom implementation of #onKeyDown(int, KeyEvent) is consistent with the mode specified to this API.

Java documentation for android.inputmethodservice.InputMethodService.setBackDisposition(int).

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