PackageInstaller.SessionParams.SetApplicationEnabledSettingPersistent 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
請求保留原本的應用程式啟用設定。
[Android.Runtime.Register("setApplicationEnabledSettingPersistent", "()V", "GetSetApplicationEnabledSettingPersistentHandler", ApiSince=34)]
public virtual void SetApplicationEnabledSettingPersistent();
[<Android.Runtime.Register("setApplicationEnabledSettingPersistent", "()V", "GetSetApplicationEnabledSettingPersistentHandler", ApiSince=34)>]
abstract member SetApplicationEnabledSettingPersistent : unit -> unit
override this.SetApplicationEnabledSettingPersistent : unit -> unit
- 屬性
備註
請求保留原本的應用程式啟用設定。 這樣可以防止該應用程式在先前處於停用狀態時被啟用。
Java 文件 android.content.pm.PackageInstaller.SessionParams.setApplicationEnabledSettingPersistent()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。