DelegatedAdminReceiver Constructors
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.
Overloads
| Name | Description |
|---|---|
| DelegatedAdminReceiver() |
Initializes a new instance of the DelegatedAdminReceiver class. |
| DelegatedAdminReceiver(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
DelegatedAdminReceiver()
Initializes a new instance of the DelegatedAdminReceiver class.
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=29)]
public DelegatedAdminReceiver();
- Attributes
Remarks
Subclass DelegatedAdminReceiver to receive callbacks for delegated capabilities. Publish the subclass in the manifest and protect it with the android.permission.BIND_DEVICE_ADMIN permission.
Applies to
DelegatedAdminReceiver(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected DelegatedAdminReceiver(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Admin.DelegatedAdminReceiver : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Admin.DelegatedAdminReceiver
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
Remarks
The runtime calls this constructor to create a managed representation of an existing Java object.