语言

PackageInstaller.SessionParams.SetApplicationEnabledSettingPersistent 方法

定义

请求保留原始应用程序启用的设置。

[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()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于