EditorInfo.MakeCompatible(BuildVersionCodes) Method

Definition

Ensure that the data in this EditorInfo is compatible with an application that was developed against the given target API version.

[Android.Runtime.Register("makeCompatible", "(I)V", "")]
public void MakeCompatible (Android.OS.BuildVersionCodes targetSdkVersion);
[<Android.Runtime.Register("makeCompatible", "(I)V", "")>]
member this.MakeCompatible : Android.OS.BuildVersionCodes -> unit

Parameters

targetSdkVersion
BuildVersionCodes

The API version number that the compatible application was developed against.

Attributes

Remarks

Ensure that the data in this EditorInfo is compatible with an application that was developed against the given target API version. This can impact the following input types: InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS, InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD, InputType#TYPE_NUMBER_VARIATION_NORMAL, InputType#TYPE_NUMBER_VARIATION_PASSWORD.

This is called by the framework for input method implementations; you should not generally need to call it yourself.

Java documentation for android.view.inputmethod.EditorInfo.makeCompatible(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