PackageInstaller.SessionParams.SetApplicationEnabledSettingPersistent Method

Definition

Request to keep the original application enabled setting.

[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
Attributes

Remarks

Request to keep the original application enabled setting. This will prevent the application from being enabled if it was previously in a disabled state.

Java documentation for android.content.pm.PackageInstaller.SessionParams.setApplicationEnabledSettingPersistent().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to