TextView.OnCommitCorrection(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.
Called by the framework in response to a text auto-correction (such as fixing a typo using a
dictionary) from the current input method, provided by it calling
InputConnection#commitCorrection(CorrectionInfo) InputConnection.commitCorrection()
.
[Android.Runtime.Register("onCommitCorrection", "(Landroid/view/inputmethod/CorrectionInfo;)V", "GetOnCommitCorrection_Landroid_view_inputmethod_CorrectionInfo_Handler")]
public virtual void OnCommitCorrection (Android.Views.InputMethods.CorrectionInfo? info);
[<Android.Runtime.Register("onCommitCorrection", "(Landroid/view/inputmethod/CorrectionInfo;)V", "GetOnCommitCorrection_Landroid_view_inputmethod_CorrectionInfo_Handler")>]
abstract member OnCommitCorrection : Android.Views.InputMethods.CorrectionInfo -> unit
override this.OnCommitCorrection : Android.Views.InputMethods.CorrectionInfo -> unit
Parameters
- info
- CorrectionInfo
The auto correct info about the text that was corrected.
- Attributes
Remarks
Called by the framework in response to a text auto-correction (such as fixing a typo using a dictionary) from the current input method, provided by it calling InputConnection#commitCorrection(CorrectionInfo) InputConnection.commitCorrection()
. The default implementation flashes the background of the corrected word to provide feedback to the user.
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.