Język

SoundProfile.WriteToParcel(Parcel, ParcelableWriteFlags) Method

Definition

Writes this sound profile and its parameters to a parcel.

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

Parameters

dest
Parcel

The Parcel in which the object should be written. This value cannot be null.

flags
ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of the following: ReturnValue

Implements

Attributes

Remarks

The Android profile implementation writes the profile identifiers, type, name, package, parameter bundle, and handle. The parcel constructor reads these fields to reconstruct the profile.

Applies to