java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.microsoft.intune.mam.policy.SaveLocation |
Known cloud storage locations that can be restricted in MAM apps. For use with
getIsSaveToLocationAllowed(SaveLocation, String)
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SaveLocation | ACCOUNT_DOCUMENT | A location associated with an account within an app. | |||||||||
SaveLocation | BOX | Box. | |||||||||
SaveLocation | DROPBOX | Dropbox. | |||||||||
SaveLocation | GOOGLE_DRIVE | Google Drive. | |||||||||
SaveLocation | LOCAL | Local device storage for use with 1. | |||||||||
SaveLocation | ONEDRIVE_FOR_BUSINESS | OneDrive for Business. | |||||||||
SaveLocation | OTHER | Other. | |||||||||
SaveLocation | PHOTO_LIBRARY | Photo library. | |||||||||
SaveLocation | SHAREPOINT | Sharepoint. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static SaveLocation |
fromCode(int code)
Get the appropriate SaveLocation given an encoded value.
| ||||||||||
int |
getCode()
Get the encoded version of the enum.
| ||||||||||
static SaveLocation | valueOf(String name) | ||||||||||
final static SaveLocation[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
A location associated with an account within an app. Should be used to determine if data can be passed between accounts within a multi-identity app.
Local device storage for use with 1. Files saved outside of private app storage. 2. Files downloaded to private app storage that are not necessary for app operation (e.g. user deliberately choosing to download to the device). Files necessary for app operation or downloaded temporarily for display are always allowed and should not check policy for permission.
OneDrive for Business. For OneDrive for Personal, use OTHER
Other. For use with cloud storage providers that we know are not managed like OneDrive Personal.
Photo library. Images/videos under the domain of the Android MediaStore.
Sharepoint. Includes both Sharepoint Online and Sharepoint on-prem (if accessed with an AAD-based account).
Get the appropriate SaveLocation given an encoded value.
code | Encoded value. |
---|
Get the encoded version of the enum.