共用方式為


Characteristics.InterfaceConsts.ParcelableWriteReturnValue Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.ParcelableWriteFlags enum directly instead of this field.

Flag for use with #writeToParcel: the object being written is a return value, that is the result of a function such as "Parcelable someFunction()", "void someFunction(out Parcelable)", or "void someFunction(inout Parcelable)".

[Android.Runtime.Register("PARCELABLE_WRITE_RETURN_VALUE")]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.ParcelableWriteFlags enum directly instead of this field.", true)]
public const Android.OS.ParcelableWriteFlags ParcelableWriteReturnValue = 1;
[<Android.Runtime.Register("PARCELABLE_WRITE_RETURN_VALUE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.ParcelableWriteFlags enum directly instead of this field.", true)>]
val mutable ParcelableWriteReturnValue : Android.OS.ParcelableWriteFlags

Field Value

Value = 1
Attributes

Remarks

Flag for use with #writeToParcel: the object being written is a return value, that is the result of a function such as "Parcelable someFunction()", "void someFunction(out Parcelable)", or "void someFunction(inout Parcelable)". Some implementations may want to release resources at this point.

Java documentation for android.os.Parcelable.PARCELABLE_WRITE_RETURN_VALUE.

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