Android.Service.Restrictions.RestrictionsReceiver Class
Abstract implementation of a Restrictions Provider BroadcastReceiver.

See Also: RestrictionsReceiver Members

Syntax

[Android.Runtime.Register("android/service/restrictions/RestrictionsReceiver", DoNotGenerateAcw=true)]
public abstract class RestrictionsReceiver : Android.Content.BroadcastReceiver

Remarks

Abstract implementation of a Restrictions Provider BroadcastReceiver. To implement a Restrictions Provider, extend from this class and implement the abstract methods. Export this receiver in the manifest. A profile owner device admin can then register this component as a Restrictions Provider using Android.App.Admin.DevicePolicyManager.SetRestrictionsProvider(Android.Content.ComponentName, Android.Content.ComponentName).

The function of a Restrictions Provider is to transport permission requests from apps on this device to an administrator (most likely on a remote device or computer) and deliver back responses. The response should be sent back to the app via Android.Content.RestrictionsManager.NotifyPermissionResponse(string, Android.OS.PersistableBundle).

See Also

[Android Documentation]

Requirements

Namespace: Android.Service.Restrictions
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0