共用方式為


PackageInstaller.ExtraPreApproval Field

Definition

Indicate if the status is for a pre-approval request.

[Android.Runtime.Register("EXTRA_PRE_APPROVAL", ApiSince=34)]
public const string ExtraPreApproval;
[<Android.Runtime.Register("EXTRA_PRE_APPROVAL", ApiSince=34)>]
val mutable ExtraPreApproval : string

Field Value

Attributes

Remarks

Indicate if the status is for a pre-approval request.

If callers use the same IntentSender for both Session#requestUserPreapproval(PreapprovalDetails, IntentSender) and Session#commit(IntentSender), they can use this to differentiate between them.

Java documentation for android.content.pm.PackageInstaller.EXTRA_PRE_APPROVAL.

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