共用方式為


Intent.ExtraSuspendedPackageExtras Field

Definition

Intent extra: A Bundle of extras for a package being suspended.

[Android.Runtime.Register("EXTRA_SUSPENDED_PACKAGE_EXTRAS", ApiSince=28)]
public const string ExtraSuspendedPackageExtras;
[<Android.Runtime.Register("EXTRA_SUSPENDED_PACKAGE_EXTRAS", ApiSince=28)>]
val mutable ExtraSuspendedPackageExtras : string

Field Value

Implements

Attributes

Remarks

Intent extra: A Bundle of extras for a package being suspended. Will be sent as an extra with #ACTION_MY_PACKAGE_SUSPENDED.

The contents of this Bundle are a contract between the suspended app and the suspending app, i.e. any app with the permission android.permission.SUSPEND_APPS. This is meant to enable the suspended app to better handle the state of being suspended.

Java documentation for android.content.Intent.EXTRA_SUSPENDED_PACKAGE_EXTRAS.

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