/**@class android.app.admin.DeviceAdminInfo implements android.os.Parcelable @extends java.lang.Object This class is used to specify meta information of a device administrator component. */ var DeviceAdminInfo = { /** A type of policy that this device admin can use: device owner meta-policy for an admin that is designated as owner of the device. @hide */ USES_POLICY_DEVICE_OWNER : "-2", /** A type of policy that this device admin can use: profile owner meta-policy for admins that have been installed as owner of some user profile. @hide */ USES_POLICY_PROFILE_OWNER : "-1", /** A type of policy that this device admin can use: limit the passwords that the user can select, via {@link android.app.admin.DevicePolicyManager#setPasswordQuality} and {@link android.app.admin.DevicePolicyManager#setPasswordMinimumLength}. <p>To control this policy, the device admin must be a device owner or profile owner, and must have a "limit-password" tag in the "uses-policies" section of its meta-data. If used by a device owner, the policy only affects the primary user and its profiles, but not any secondary users on the device. */ USES_POLICY_LIMIT_PASSWORD : "0", /** A type of policy that this device admin can use: able to watch login attempts from the user, via {@link android.app.admin.DeviceAdminReceiver#ACTION_PASSWORD_FAILED}, {@link android.app.admin.DeviceAdminReceiver#ACTION_PASSWORD_SUCCEEDED}, and {@link android.app.admin.DevicePolicyManager#getCurrentFailedPasswordAttempts}. <p>To control this policy, the device admin must have a "watch-login" tag in the "uses-policies" section of its meta-data. */ USES_POLICY_WATCH_LOGIN : "1", /** A type of policy that this device admin can use: able to reset the user's password via {@link android.app.admin.DevicePolicyManager#resetPassword}. <p>To control this policy, the device admin must have a "reset-password" tag in the "uses-policies" section of its meta-data. */ USES_POLICY_RESET_PASSWORD : "2", /** A type of policy that this device admin can use: able to force the device to lock via{@link android.app.admin.DevicePolicyManager#lockNow} or limit the maximum lock timeout for the device via {@link android.app.admin.DevicePolicyManager#setMaximumTimeToLock}. <p>To control this policy, the device admin must have a "force-lock" tag in the "uses-policies" section of its meta-data. */ USES_POLICY_FORCE_LOCK : "3", /** A type of policy that this device admin can use: able to factory reset the device, erasing all of the user's data, via {@link android.app.admin.DevicePolicyManager#wipeData}. <p>To control this policy, the device admin must have a "wipe-data" tag in the "uses-policies" section of its meta-data. */ USES_POLICY_WIPE_DATA : "4", /** A type of policy that this device admin can use: able to specify the device Global Proxy, via {@link android.app.admin.DevicePolicyManager#setGlobalProxy}. <p>To control this policy, the device admin must have a "set-global-proxy" tag in the "uses-policies" section of its meta-data. @hide */ USES_POLICY_SETS_GLOBAL_PROXY : "5", /** A type of policy that this device admin can use: force the user to change their password after an administrator-defined time limit. <p>To control this policy, the device admin must be a device owner or profile owner, and must have an "expire-password" tag in the "uses-policies" section of its meta-data. If used by a device owner, the policy only affects the primary user and its profiles, but not any secondary users on the device. */ USES_POLICY_EXPIRE_PASSWORD : "6", /** A type of policy that this device admin can use: require encryption of stored data. <p>To control this policy, the device admin must have a "encrypted-storage" tag in the "uses-policies" section of its meta-data. */ USES_ENCRYPTED_STORAGE : "7", /** A type of policy that this device admin can use: disables use of all device cameras. <p>To control this policy, the device admin must be a device owner or profile owner, and must have a "disable-camera" tag in the "uses-policies" section of its meta-data. If used by a device owner, the policy affects all users on the device. */ USES_POLICY_DISABLE_CAMERA : "8", /** A type of policy that this device admin can use: disables use of keyguard features. <p>To control this policy, the device admin must be a device owner or profile owner, and must have a "disable-keyguard-features" tag in the "uses-policies" section of its meta-data. If used by a device owner, the policy only affects the primary user and its profiles, but not any secondary users on the device. */ USES_POLICY_DISABLE_KEYGUARD_FEATURES : "9", /** Used to make this class parcelable. */ CREATOR : "null", /**Return the .apk package that implements this device admin. */ getPackageName : function( ) {}, /**Return the class name of the receiver component that implements this device admin. */ getReceiverName : function( ) {}, /**Return the raw information about the receiver implementing this device admin. Do not modify the returned object. */ getActivityInfo : function( ) {}, /**Return the component of the receiver that implements this device admin. */ getComponent : function( ) {}, /**Load the user-displayed label for this device admin. @param {Object {PackageManager}} pm Supply a PackageManager used to load the device admin's resources. */ loadLabel : function( ) {}, /**Load user-visible description associated with this device admin. @param {Object {PackageManager}} pm Supply a PackageManager used to load the device admin's resources. */ loadDescription : function( ) {}, /**Load the user-displayed icon for this device admin. @param {Object {PackageManager}} pm Supply a PackageManager used to load the device admin's resources. */ loadIcon : function( ) {}, /**Returns whether this device admin would like to be visible to the user, even when it is not enabled. */ isVisible : function( ) {}, /**Return true if the device admin has requested that it be able to use the given policy control. The possible policy identifier inputs are: {@link #USES_POLICY_LIMIT_PASSWORD}, {@link #USES_POLICY_WATCH_LOGIN}, {@link #USES_POLICY_RESET_PASSWORD}, {@link #USES_POLICY_FORCE_LOCK}, {@link #USES_POLICY_WIPE_DATA}, {@link #USES_POLICY_EXPIRE_PASSWORD}, {@link #USES_ENCRYPTED_STORAGE}, {@link #USES_POLICY_DISABLE_CAMERA}. */ usesPolicy : function( ) {}, /**Return the XML tag name for the given policy identifier. Valid identifiers are as per {@link #usesPolicy}(int). If the given identifier is not known, null is returned. */ getTagForPolicy : function( ) {}, /**Return true if this administrator can be a target in an ownership transfer. */ supportsTransferOwnership : function( ) {}, /** @hide */ getUsedPolicies : function( ) {}, /** @hide */ writePoliciesToXml : function( ) {}, /** @hide */ readPoliciesFromXml : function( ) {}, /** */ dump : function( ) {}, /** */ toString : function( ) {}, /**Used to package this object into a {@link Parcel}. @param {Object {Parcel}} dest The {@link Parcel} to be written. @param {Number} flags The flags used for parceling. */ writeToParcel : function( ) {}, /** */ describeContents : function( ) {}, };