BaseInputConnection.CommitCorrection(CorrectionInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Default implementation does nothing and returns false.
[Android.Runtime.Register("commitCorrection", "(Landroid/view/inputmethod/CorrectionInfo;)Z", "GetCommitCorrection_Landroid_view_inputmethod_CorrectionInfo_Handler")]
public virtual bool CommitCorrection(Android.Views.InputMethods.CorrectionInfo? correctionInfo);
[<Android.Runtime.Register("commitCorrection", "(Landroid/view/inputmethod/CorrectionInfo;)Z", "GetCommitCorrection_Landroid_view_inputmethod_CorrectionInfo_Handler")>]
abstract member CommitCorrection : Android.Views.InputMethods.CorrectionInfo -> bool
override this.CommitCorrection : Android.Views.InputMethods.CorrectionInfo -> bool
Parameters
- correctionInfo
- CorrectionInfo
Detailed information about the correction.
Returns
true on success, false if the input connection is no longer valid. Since Android Build.VERSION_CODES.N until Build.VERSION_CODES.TIRAMISU, this API returned false when the target application does not implement this method.
Implements
- Attributes
Remarks
Default implementation does nothing and returns false.
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.