- context
- The running context as per DeviceAdminReceiver.OnReceive(Android.Content.Context, Android.Content.Intent).
- intent
- The received intent as per DeviceAdminReceiver.OnReceive(Android.Content.Context, Android.Content.Intent).
Called after the administrator is first enabled, as a result of receiving DeviceAdminReceiver.ActionDeviceAdminEnabled. At this point you can use Android.App.Admin.DevicePolicyManager to set your desired policies.
If the admin is activated by a device owner, then the intent may contain private extras that are relevant to user setup.