Share via


SystemUpdatePolicy.CreatePostponeInstallPolicy Method

Definition

Create a policy object and set it to block installation for a maximum period of 30 days.

[Android.Runtime.Register("createPostponeInstallPolicy", "()Landroid/app/admin/SystemUpdatePolicy;", "", ApiSince=23)]
public static Android.App.Admin.SystemUpdatePolicy? CreatePostponeInstallPolicy ();
[<Android.Runtime.Register("createPostponeInstallPolicy", "()Landroid/app/admin/SystemUpdatePolicy;", "", ApiSince=23)>]
static member CreatePostponeInstallPolicy : unit -> Android.App.Admin.SystemUpdatePolicy

Returns

Attributes

Remarks

Create a policy object and set it to block installation for a maximum period of 30 days. To learn more about this policy's behavior, see #TYPE_POSTPONE.

<b>Note: </b> security updates (e.g. monthly security patches) will not be affected by this policy.

Java documentation for android.app.admin.SystemUpdatePolicy.createPostponeInstallPolicy().

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