Share via


TextInfo Constructors

Definition

Overloads

TextInfo(Parcel)

Constructor.

TextInfo(String)

Constructor.

TextInfo(String, Int32, Int32)

Constructor.

TextInfo(ICharSequence, Int32, Int32, Int32, Int32)

Constructor.

TextInfo(String, Int32, Int32, Int32, Int32)

Constructor.

TextInfo(Parcel)

Constructor.

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public TextInfo (Android.OS.Parcel? source);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Views.TextService.TextInfo : Android.OS.Parcel -> Android.Views.TextService.TextInfo

Parameters

source
Parcel
Attributes

Remarks

Java documentation for android.view.textservice.TextInfo.TextInfo(java.lang.CharSequence, int, int, int, int).

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

TextInfo(String)

Constructor.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public TextInfo (string? text);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Views.TextService.TextInfo : string -> Android.Views.TextService.TextInfo

Parameters

text
String

the text which will be input to TextService

Attributes

Remarks

Constructor.

Java documentation for android.view.textservice.TextInfo.TextInfo(java.lang.String).

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

TextInfo(String, Int32, Int32)

Constructor.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;II)V", "")]
public TextInfo (string? text, int cookie, int sequenceNumber);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;II)V", "")>]
new Android.Views.TextService.TextInfo : string * int * int -> Android.Views.TextService.TextInfo

Parameters

text
String

the text which will be input to TextService

cookie
Int32

the cookie for this TextInfo

sequenceNumber
Int32

the sequence number for this TextInfo

Attributes

Remarks

Constructor.

Java documentation for android.view.textservice.TextInfo.TextInfo(java.lang.String, int, int).

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

TextInfo(ICharSequence, Int32, Int32, Int32, Int32)

Constructor.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;IIII)V", "")]
public TextInfo (Java.Lang.ICharSequence? charSequence, int start, int end, int cookie, int sequenceNumber);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;IIII)V", "")>]
new Android.Views.TextService.TextInfo : Java.Lang.ICharSequence * int * int * int * int -> Android.Views.TextService.TextInfo

Parameters

charSequence
ICharSequence

the text which will be input to TextService. Attached spans that implement ParcelableSpan will also be marshaled alongside with the text.

start
Int32

the beginning of the range of text (inclusive).

end
Int32

the end of the range of text (exclusive).

cookie
Int32

the cookie for this TextInfo

sequenceNumber
Int32

the sequence number for this TextInfo

Attributes

Remarks

Constructor.

Java documentation for android.view.textservice.TextInfo.TextInfo(java.lang.CharSequence, int, int, int, int).

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

TextInfo(String, Int32, Int32, Int32, Int32)

Constructor.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;IIII)V", "")]
public TextInfo (string? charSequence, int start, int end, int cookie, int sequenceNumber);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;IIII)V", "")>]
new Android.Views.TextService.TextInfo : string * int * int * int * int -> Android.Views.TextService.TextInfo

Parameters

charSequence
String
start
Int32
end
Int32
cookie
Int32
sequenceNumber
Int32
Attributes

Remarks

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