DataShareRequest.DescribeContents 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
描述此 Parcelable 實例的分組表示中包含的特殊物件種類。
[Android.Runtime.Register("describeContents", "()I", "", ApiSince=30)]
public int DescribeContents();
[<Android.Runtime.Register("describeContents", "()I", "", ApiSince=30)>]
abstract member DescribeContents : unit -> int
override this.DescribeContents : unit -> int
傳回
一個位元遮罩,表示此實例所封存的特殊物件類型。 其值為 0 或 ContentsFileDescriptor。
實作
- 屬性
備註
描述本實例編組表示中所包含的特殊物件種類。 如果 WriteToParcel(Parcel, ParcelableWriteFlags) 寫入檔案描述符,結果必須包含 ContentsFileDescriptor。
Android 參考資料。android.view.contentcapture.DataShareRequest.describeContents
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。