Java android.app.admin SystemUpdatePolicy fields, constructors, methods, implement or subclass

Example usage for Java android.app.admin SystemUpdatePolicy fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.app.admin SystemUpdatePolicy.

The text is from its open source code.

Method

SystemUpdatePolicycreateAutomaticInstallPolicy()
Create a policy object and set it to install update automatically as soon as one is available.
SystemUpdatePolicycreatePostponeInstallPolicy()
Create a policy object and set it to block installation for a maximum period of 30 days.
SystemUpdatePolicycreateWindowedInstallPolicy(int startTime, int endTime)
Create a policy object and set it to: new system update will only be installed automatically when the system clock is inside a daily maintenance window.