Udostępnij za pośrednictwem


Parcel.WriteString(String) Method

Definition

Write a string value into the parcel at the current dataPosition(), growing dataCapacity() if needed.

[Android.Runtime.Register("writeString", "(Ljava/lang/String;)V", "")]
public void WriteString (string? val);
[<Android.Runtime.Register("writeString", "(Ljava/lang/String;)V", "")>]
member this.WriteString : string -> unit

Parameters

val
String
Attributes

Remarks

Write a string value into the parcel at the current dataPosition(), growing dataCapacity() if needed.

Java documentation for android.os.Parcel.writeString(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