SelectionEvent.CreateSelectionModifiedEvent 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.
Overloads
CreateSelectionModifiedEvent(Int32, Int32) |
Creates a "selection modified" event. |
CreateSelectionModifiedEvent(Int32, Int32, TextClassification) |
Creates a "selection modified" event. |
CreateSelectionModifiedEvent(Int32, Int32, TextSelection) |
Creates a "selection modified" event. |
CreateSelectionModifiedEvent(Int32, Int32)
Creates a "selection modified" event.
[Android.Runtime.Register("createSelectionModifiedEvent", "(II)Landroid/view/textclassifier/SelectionEvent;", "", ApiSince=28)]
public static Android.Views.TextClassifiers.SelectionEvent CreateSelectionModifiedEvent (int start, int end);
[<Android.Runtime.Register("createSelectionModifiedEvent", "(II)Landroid/view/textclassifier/SelectionEvent;", "", ApiSince=28)>]
static member CreateSelectionModifiedEvent : int * int -> Android.Views.TextClassifiers.SelectionEvent
Parameters
- start
- Int32
the start (inclusive) index of the selection
- end
- Int32
the end (exclusive) index of the selection
Returns
- Attributes
Remarks
Creates a "selection modified" event. Use when the user modifies the selection.
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
CreateSelectionModifiedEvent(Int32, Int32, TextClassification)
Creates a "selection modified" event.
[Android.Runtime.Register("createSelectionModifiedEvent", "(IILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/SelectionEvent;", "", ApiSince=28)]
public static Android.Views.TextClassifiers.SelectionEvent CreateSelectionModifiedEvent (int start, int end, Android.Views.TextClassifiers.TextClassification classification);
[<Android.Runtime.Register("createSelectionModifiedEvent", "(IILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/SelectionEvent;", "", ApiSince=28)>]
static member CreateSelectionModifiedEvent : int * int * Android.Views.TextClassifiers.TextClassification -> Android.Views.TextClassifiers.SelectionEvent
Parameters
- start
- Int32
the start (inclusive) index of the selection
- end
- Int32
the end (exclusive) index of the selection
- classification
- TextClassification
the TextClassification object returned by the TextClassifier that classified the selected text
Returns
- Attributes
Remarks
Creates a "selection modified" event. Use when the user modifies the selection and the selection's entity type is known.
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
CreateSelectionModifiedEvent(Int32, Int32, TextSelection)
Creates a "selection modified" event.
[Android.Runtime.Register("createSelectionModifiedEvent", "(IILandroid/view/textclassifier/TextSelection;)Landroid/view/textclassifier/SelectionEvent;", "", ApiSince=28)]
public static Android.Views.TextClassifiers.SelectionEvent CreateSelectionModifiedEvent (int start, int end, Android.Views.TextClassifiers.TextSelection selection);
[<Android.Runtime.Register("createSelectionModifiedEvent", "(IILandroid/view/textclassifier/TextSelection;)Landroid/view/textclassifier/SelectionEvent;", "", ApiSince=28)>]
static member CreateSelectionModifiedEvent : int * int * Android.Views.TextClassifiers.TextSelection -> Android.Views.TextClassifiers.SelectionEvent
Parameters
- start
- Int32
the start (inclusive) index of the selection
- end
- Int32
the end (exclusive) index of the selection
- selection
- TextSelection
the TextSelection object returned by the TextClassifier for the specified selection
Returns
- Attributes
Remarks
Creates a "selection modified" event. Use when a TextClassifier modifies the selection.
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.