ITextClassifier.GenerateLinks(TextLinks+Request) Method

Definition

Generates and returns a TextLinks that may be applied to the text to annotate it with links information.

[Android.Runtime.Register("generateLinks", "(Landroid/view/textclassifier/TextLinks$Request;)Landroid/view/textclassifier/TextLinks;", "GetGenerateLinks_Landroid_view_textclassifier_TextLinks_Request_Handler:Android.Views.TextClassifiers.ITextClassifier, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)]
public virtual Android.Views.TextClassifiers.TextLinks GenerateLinks(Android.Views.TextClassifiers.TextLinks.Request request);
[<Android.Runtime.Register("generateLinks", "(Landroid/view/textclassifier/TextLinks$Request;)Landroid/view/textclassifier/TextLinks;", "GetGenerateLinks_Landroid_view_textclassifier_TextLinks_Request_Handler:Android.Views.TextClassifiers.ITextClassifier, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)>]
abstract member GenerateLinks : Android.Views.TextClassifiers.TextLinks.Request -> Android.Views.TextClassifiers.TextLinks
override this.GenerateLinks : Android.Views.TextClassifiers.TextLinks.Request -> Android.Views.TextClassifiers.TextLinks

Parameters

request
TextLinks.Request

TextLinks.Request: the text links request. This value cannot be null.

Returns

This value cannot be null.

Attributes

Remarks

Generates and returns a TextLinks that may be applied to the text to annotate it with links information. NOTE: Call on a worker thread. NOTE: If a TextClassifier has been destroyed, calls to this method should throw an IllegalStateException. See isDestroyed(). This method may take several seconds to complete, so it should only be called from a worker thread.

See also:

Android reference for android.view.textclassifier.TextClassifier.generateLinks.

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