DevicePolicyManagerFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types and taken as a parameter of the F:Android.App.Admin.DevicePolicyManager.AddCrossProfileIntentFilter member.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum DevicePolicyManagerFlags
[<System.Flags>]
type DevicePolicyManagerFlags =
- Inheritance
-
DevicePolicyManagerFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | |
| EvictCredentialEncryptionKey | 1 | Flag for lockNow(int): also evict the user's credential encryption key from the keyring. The user's credential will need to be entered again in order to derive the credential encryption key that will be stored back in the keyring for future use. This flag can only be used by a profile owner when locking a managed profile when getStorageEncryptionStatus() returns ENCRYPTION_STATUS_ACTIVE_PER_USER. In order to secure user data, the user will be stopped and restarted so apps should wait until they are next run to perform further actions. Android reference for 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. |
| ParentCanAccessManaged | 1 | Flag used by addCrossProfileIntentFilter(ComponentName, IntentFilter, int) to allow activities in the parent profile to access intents sent from the managed profile. That is, when an app in the managed profile calls Activity.startActivity(Intent), the intent can be resolved by a matching activity in the parent profile. Android reference for 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. |
| ManagedCanAccessParent | 2 | Flag used by addCrossProfileIntentFilter(ComponentName, IntentFilter, int) to allow activities in the managed profile to access intents sent from the parent profile. That is, when an app in the parent profile calls Activity.startActivity(Intent), the intent can be resolved by a matching activity in the managed profile. Android reference for 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. |
Remarks
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.