Share via


PolicyAcquisitionFlags class

Defines modes for consuming protected content.

Signature

public final class PolicyAcquisitionFlags

Properties

Name Signature Notes
NONE
public static final int NONE = 0;
When specified, the SDK will attempt to perform the operation silently, and without using the network.
If it fails to run without the network it will attempt to access the network.
OFFLINE_ONLY
public static final int OFFLINE_ONLY = 1;
When specified, the SDK will attempt to perform the operation silently, without using the network.
If it fails to run without the the network it will throw the OfflineOnlyRequiresInternetException exception.

Defined in

PolicyAcquisitionFlags.java

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)

Package

com.microsoft.rightsmanagement

Remarks

For more information about the built-in rights and the usage restrictions associated with them that apps should observe, see Built-in Rights Usage Restriction Reference.

Thread Safety

Members of this class are not guaranteed to be thread safe.