ComponentName.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 属性许可证中所述的术语使用。

适用于