DeviceAdminInfo Class
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.
This class is used to specify meta information of a device administrator component.
[Android.Runtime.Register("android/app/admin/DeviceAdminInfo", DoNotGenerateAcw=true)]
public sealed class DeviceAdminInfo : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/app/admin/DeviceAdminInfo", DoNotGenerateAcw=true)>]
type DeviceAdminInfo = class
inherit Object
interface IParcelable
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Inheritance
- Attributes
- Implements
Remarks
This class is used to specify meta information of a device administrator component.
Java documentation for android.app.admin.DeviceAdminInfo
.
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.
Constructors
DeviceAdminInfo(Context, ResolveInfo) |
Constructor. |
Fields
HeadlessDeviceOwnerModeAffiliated |
Obsolete.
Value for |
HeadlessDeviceOwnerModeUnsupported |
Obsolete.
Value for |
UsesEncryptedStorage |
Obsolete.
A type of policy that this device admin can use: require encryption of stored data. |
UsesPolicyDisableCamera |
Obsolete.
A type of policy that this device admin can use: disables use of all device cameras. |
UsesPolicyDisableKeyguardFeatures |
Obsolete.
A type of policy that this device admin can use: disables use of keyguard features. |
UsesPolicyExpirePassword |
Obsolete.
A type of policy that this device admin can use: force the user to change their password after an administrator-defined time limit. |
UsesPolicyForceLock |
Obsolete.
A type of policy that this device admin can use: able to force the device
to lock via |
UsesPolicyLimitPassword |
Obsolete.
A type of policy that this device admin can use: limit the passwords
that the user can select, via |
UsesPolicyResetPassword |
Obsolete.
A type of policy that this device admin can use: able to reset the
user's password via
|
UsesPolicyWatchLogin |
Obsolete.
A type of policy that this device admin can use: able to watch login
attempts from the user, via |
UsesPolicyWipeData |
Obsolete.
A type of policy that this device admin can use: able to factory
reset the device, erasing all of the user's data, via
|
Properties
ActivityInfo |
Return the raw information about the receiver implementing this device admin. |
Class |
Returns the runtime class of this |
Component |
Return the component of the receiver that implements this device admin. |
Creator |
Used to make this class parcelable. |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
HeadlessDeviceOwnerMode |
Returns the mode this DeviceAdmin wishes to use if provisioned as a Device Owner on a headless system user mode device. |
IsVisible |
Returns whether this device admin would like to be visible to the user, even when it is not enabled. |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
PackageName |
Return the . |
PeerReference | (Inherited from Object) |
ReceiverName |
Return the class name of the receiver component that implements this device admin. |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
Methods
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
DescribeContents() |
Describe the kinds of special objects contained in this Parcelable's marshalled representation. |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Dump(IPrinter, String) | |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
GetTagForPolicy(DeviceAdminUses) |
Return the XML tag name for the given policy identifier. |
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
LoadDescription(PackageManager) |
Load user-visible description associated with this device admin. |
LoadDescriptionFormatted(PackageManager) |
Load user-visible description associated with this device admin. |
LoadIcon(PackageManager) |
Load the user-displayed icon for this device admin. |
LoadLabel(PackageManager) |
Load the user-displayed label for this device admin. |
LoadLabelFormatted(PackageManager) |
Load the user-displayed label for this device admin. |
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
SupportsTransferOwnership() |
Return true if this administrator can be a target in an ownership transfer. |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnregisterFromRuntime() | (Inherited from Object) |
UsesPolicy(DeviceAdminUses) |
Return true if the device admin has requested that it be able to use the given policy control. |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
WriteToParcel(Parcel, ParcelableWriteFlags) |
Used to package this object into a |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |