Parcel.WriteInterfaceToken(String) Method

Definition

Store or read an IBinder interface token in the parcel at the current #dataPosition.

[Android.Runtime.Register("writeInterfaceToken", "(Ljava/lang/String;)V", "")]
public void WriteInterfaceToken (string interfaceName);
[<Android.Runtime.Register("writeInterfaceToken", "(Ljava/lang/String;)V", "")>]
member this.WriteInterfaceToken : string -> unit

Parameters

interfaceName
String
Attributes

Remarks

Store or read an IBinder interface token in the parcel at the current #dataPosition. This is used to validate that the marshalled transaction is intended for the target interface. This is typically written at the beginning of transactions as a header.

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