Sdílet prostřednictvím


SurfaceControl.Transaction.WriteToParcel(Parcel, ParcelableWriteFlags) Method

Definition

Writes the transaction to parcel, clearing the transaction as if it had been applied so it can be used to store future transactions.

[Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "GetWriteToParcel_Landroid_os_Parcel_IHandler", ApiSince=30)]
public virtual void WriteToParcel (Android.OS.Parcel dest, Android.OS.ParcelableWriteFlags flags);
[<Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "GetWriteToParcel_Landroid_os_Parcel_IHandler", ApiSince=30)>]
abstract member WriteToParcel : Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit
override this.WriteToParcel : Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit

Parameters

dest
Parcel

parcel to write the transaction to

flags
ParcelableWriteFlags

flags

Implements

Attributes

Remarks

Writes the transaction to parcel, clearing the transaction as if it had been applied so it can be used to store future transactions. It's the responsibility of the parcel reader to apply the original transaction.

Java documentation for android.view.SurfaceControl.Transaction.writeToParcel(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