Parcel.WriteInterfaceArray(Object[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將包含 IInterface 類型的同質陣列平整化到該 parcel 中,並以當前 dataPosition() 進行,必要時則在 dataCapacity() 成長。
[Android.Runtime.Register("writeInterfaceArray", "([Landroid/os/IInterface;)V", "", ApiSince=33)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.IInterface" })]
public void WriteInterfaceArray(Java.Lang.Object[]? val);
[<Android.Runtime.Register("writeInterfaceArray", "([Landroid/os/IInterface;)V", "", ApiSince=33)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.os.IInterface" })>]
member this.WriteInterfaceArray : Java.Lang.Object[] -> unit
參數
- val
- Object[]
要寫入的物件陣列。
- 屬性
備註
將包含 IInterface 類型的同質陣列平整化到該 parcel 中,並以當前 dataPosition() 進行,必要時則在 dataCapacity() 成長。 陣列中物件的類型必須是實作 IInterface 的類型。
Java 文件 android.os.Parcel.writeInterfaceArray(T[])。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。