共用方式為


ContentInfo.InterfaceConsts.ParcelableWriteReturnValue 欄位

定義

警告

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

與 搭配 #writeToParcel使用的旗標:正在寫入的對像是傳回值,這是函式的結果,例如 “Parcelable someFunction()”、“”void someFunction(out Parcelable) 或 “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

欄位值

Value = 1
屬性

備註

與 搭配 #writeToParcel使用的旗標:正在寫入的對像是傳回值,這是函式的結果,例如 “Parcelable someFunction()”、“”void someFunction(out Parcelable) 或 “void someFunction(inout Parcelable)”。 此時,某些實作可能會想要釋放資源。

android.os.Parcelable.PARCELABLE_WRITE_RETURN_VALUEJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於