Language

TextUtils.WriteToParcel Method

Definition

Overloads

Name Description
WriteToParcel(ICharSequence, Parcel, ParcelableWriteFlags)

Flatten a CharSequence and whatever styles can be copied across processes into the parcel.

WriteToParcel(String, Parcel, ParcelableWriteFlags)

Flatten a CharSequence and whatever styles can be copied across processes into the parcel.

WriteToParcel(ICharSequence, Parcel, ParcelableWriteFlags)

Flatten a CharSequence and whatever styles can be copied across processes into the parcel.

[Android.Runtime.Register("writeToParcel", "(Ljava/lang/CharSequence;Landroid/os/Parcel;I)V", "")]
public static void WriteToParcel(Java.Lang.ICharSequence? cs, Android.OS.Parcel p, Android.OS.ParcelableWriteFlags parcelableFlags);
[<Android.Runtime.Register("writeToParcel", "(Ljava/lang/CharSequence;Landroid/os/Parcel;I)V", "")>]
static member WriteToParcel : Java.Lang.ICharSequence * Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit

Parameters

cs
ICharSequence

The text and any supported spans to serialize.

p
Parcel

The parcel that receives the serialized text.

parcelableFlags
ParcelableWriteFlags

The flags passed to each supported parcelable span writer.

Attributes

Remarks

Flatten a CharSequence and whatever styles can be copied across processes into the parcel.

Java documentation for android.text.TextUtils.writeToParcel(java.lang.CharSequence, android.os.Parcel, 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

WriteToParcel(String, Parcel, ParcelableWriteFlags)

Flatten a CharSequence and whatever styles can be copied across processes into the parcel.

public static void WriteToParcel(string? cs, Android.OS.Parcel p, Android.OS.ParcelableWriteFlags parcelableFlags);
static member WriteToParcel : string * Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit

Parameters

cs
String

The text to serialize.

p
Parcel

The parcel that receives the serialized text.

parcelableFlags
ParcelableWriteFlags

The flags forwarded to the text writer. Plain strings have no parcelable spans that use these flags.

Remarks

Flatten a CharSequence and whatever styles can be copied across processes into the parcel.

Java documentation for android.text.TextUtils.writeToParcel(java.lang.CharSequence, android.os.Parcel, 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