| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.microsoft.intune.mam.policy.OpenLocation | |
Known locations that can be restricted in MAM apps for opening data from.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| OpenLocation | ACCOUNT_DOCUMENT | A location associated with an account within an app. | |||||||||
| OpenLocation | CAMERA | Camera. | |||||||||
| OpenLocation | LOCAL | Local device storage outside of private app storage. | |||||||||
| OpenLocation | ONEDRIVE_FOR_BUSINESS | OneDrive for Business. | |||||||||
| OpenLocation | OTHER | Other. | |||||||||
| OpenLocation | PHOTO_LIBRARY | Photo library. | |||||||||
| OpenLocation | SHAREPOINT | Sharepoint. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static OpenLocation |
fromCode(int code)
Get the appropriate OpenLocation given an encoded value.
| ||||||||||
| int |
getCode()
Get the encoded version of the enum.
| ||||||||||
| static OpenLocation | valueOf(String name) | ||||||||||
| final static OpenLocation[] | 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.
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 OpenLocation given an encoded value.
| code | Encoded value. |
|---|
Get the encoded version of the enum.