Parcel.ReadFixedArray 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| ReadFixedArray(Object) |
从包裹中读取新的多维数组。 |
| ReadFixedArray(Object, IParcelableCreator) |
从包裹中读取类型化的可包裹的新多维数组。 如果要读取 IInterface 值,请使用 readFixedArray(Object,Function) 。 对于其他类型的值,请使用 readFixedArray(Object) 。 |
| ReadFixedArray(Object, IFunction) |
从包裹中读取类型化接口的新多维数组。 |
ReadFixedArray(Object)
从包裹中读取新的多维数组。
[Android.Runtime.Register("readFixedArray", "(Ljava/lang/Object;)V", "", ApiSince=33)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public void ReadFixedArray(Java.Lang.Object val);
[<Android.Runtime.Register("readFixedArray", "(Ljava/lang/Object;)V", "", ApiSince=33)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
member this.ReadFixedArray : Java.Lang.Object -> unit
参数
- val
- Object
要保存读取值的目标数组。
- 属性
注解
从包裹中读取新的多维数组。 如果要读取 Parcelable 或 IInterface 值,请使用 #readFixedArray(Object, Parcelable.Creator) 或 #readFixedArray(Object, Function)。
Java文档android.os.Parcel.readFixedArray(T)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
ReadFixedArray(Object, IParcelableCreator)
从包裹中读取类型化的可包裹的新多维数组。 如果要读取 IInterface 值,请使用 readFixedArray(Object,Function) 。 对于其他类型的值,请使用 readFixedArray(Object) 。
[Android.Runtime.Register("readFixedArray", "(Ljava/lang/Object;Landroid/os/Parcelable$Creator;)V", "", ApiSince=33)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T", "S extends android.os.Parcelable" })]
public void ReadFixedArray(Java.Lang.Object val, Android.OS.IParcelableCreator c);
[<Android.Runtime.Register("readFixedArray", "(Ljava/lang/Object;Landroid/os/Parcelable$Creator;)V", "", ApiSince=33)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T", "S extends android.os.Parcelable" })>]
member this.ReadFixedArray : Java.Lang.Object * Android.OS.IParcelableCreator -> unit
参数
- val
- Object
要保存读取值的目标数组。 此值不能为 null。
该值不能为 null。
- 属性
注解
从包裹中读取类型化的可包裹的新多维数组。 如果要读取 IInterface 值,请使用 readFixedArray(Object,Function) 。 对于其他类型的值,请使用 readFixedArray(Object) 。
Java文档android.os.Parcel.readFixedArray(T, android.os.Parcelable.Creator<S>)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
ReadFixedArray(Object, IFunction)
从包裹中读取类型化接口的新多维数组。
[Android.Runtime.Register("readFixedArray", "(Ljava/lang/Object;Ljava/util/function/Function;)V", "", ApiSince=33)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T", "S extends android.os.IInterface" })]
public void ReadFixedArray(Java.Lang.Object val, Java.Util.Functions.IFunction asInterface);
[<Android.Runtime.Register("readFixedArray", "(Ljava/lang/Object;Ljava/util/function/Function;)V", "", ApiSince=33)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T", "S extends android.os.IInterface" })>]
member this.ReadFixedArray : Java.Lang.Object * Java.Util.Functions.IFunction -> unit
参数
- val
- Object
要保存读取值的目标数组。
- asInterface
- IFunction
该值不能为 null。
- 属性
注解
从包裹中读取类型化接口的新多维数组。 如果要读取可包裹值,请使用 #readFixedArray(Object, Parcelable.Creator)。 对于其他类型的值,请使用 #readFixedArray(Object)。
Java文档android.os.Parcel.readFixedArray(T, java.util.function.Function<android.os.IBinder, S>)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。