Language

TextLinks.Request.Builder Constructors

Definition

Overloads

Name Description
TextLinks.Request.Builder(ICharSequence)

Creates a link request builder for the supplied character sequence.

TextLinks.Request.Builder(String)

Creates a link request builder from the supplied string.

Creates a link request builder for the supplied character sequence.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=28)]
public Builder(Java.Lang.ICharSequence text);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=28)>]
new Android.Views.TextClassifiers.TextLinks.Request.Builder : Java.Lang.ICharSequence -> Android.Views.TextClassifiers.TextLinks.Request.Builder

Parameters

text
ICharSequence

The non-null text to store in the link generation request.

Attributes

Remarks

The builder retains the supplied text. Set any locale preferences or entity configuration before calling Build().

Applies to

Creates a link request builder from the supplied string.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=28)]
public Builder(string text);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=28)>]
new Android.Views.TextClassifiers.TextLinks.Request.Builder : string -> Android.Views.TextClassifiers.TextLinks.Request.Builder

Parameters

text
String

The non-null string to use as the link generation request's text.

Attributes

Remarks

This overload passes the string as a Java character sequence. Set any locale preferences or entity configuration before calling Build().

Applies to