PackageManager.Synchronous 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.
標記參數 表示 #setComponentEnabledSetting(android.content.ComponentName, int, int) 該使用者的套件限制狀態在元件狀態更新後會序列化至磁碟。
[Android.Runtime.Register("SYNCHRONOUS", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.", true)]
public const Android.Content.PM.ComponentEnableOption Synchronous = 2;
[<Android.Runtime.Register("SYNCHRONOUS", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.", true)>]
val mutable Synchronous : Android.Content.PM.ComponentEnableOption
欄位值
Value = 2- 屬性
備註
標記參數 表示 #setComponentEnabledSetting(android.content.ComponentName, int, int) 該使用者的套件限制狀態在元件狀態更新後會序列化至磁碟。 請注意,這是同步磁碟存取,因此使用此標誌的呼叫應在背景執行緒中執行。
Java 文件 android.content.pm.PackageManager.SYNCHRONOUS。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。