[]Struct jni_android_sys::android::app::admin::DevicePolicyManager

#[repr(transparent)]
pub struct DevicePolicyManager(_);

public class DevicePolicyManager

Required feature: "android-app-admin-DevicePolicyManager"

Methods

impl DevicePolicyManager

pub fn isAdminActive<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isAdminActive

Required features: "android-content-ComponentName"

pub fn getActiveAdmins<'env>(
    &'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getActiveAdmins

Required features: "java-util-List"

pub fn removeActiveAdmin<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]

removeActiveAdmin

Required features: "android-content-ComponentName"

pub fn hasGrantedPolicy<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

hasGrantedPolicy

Required features: "android-content-ComponentName"

pub fn setPasswordQuality<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setPasswordQuality

Required features: "android-content-ComponentName"

pub fn getPasswordQuality<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPasswordQuality

Required features: "android-content-ComponentName"

pub fn setPasswordMinimumLength<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setPasswordMinimumLength

Required features: "android-content-ComponentName"

pub fn getPasswordMinimumLength<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPasswordMinimumLength

Required features: "android-content-ComponentName"

pub fn setPasswordMinimumUpperCase<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setPasswordMinimumUpperCase

Required features: "android-content-ComponentName"

pub fn getPasswordMinimumUpperCase<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPasswordMinimumUpperCase

Required features: "android-content-ComponentName"

pub fn setPasswordMinimumLowerCase<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setPasswordMinimumLowerCase

Required features: "android-content-ComponentName"

pub fn getPasswordMinimumLowerCase<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPasswordMinimumLowerCase

Required features: "android-content-ComponentName"

pub fn setPasswordMinimumLetters<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setPasswordMinimumLetters

Required features: "android-content-ComponentName"

pub fn getPasswordMinimumLetters<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPasswordMinimumLetters

Required features: "android-content-ComponentName"

pub fn setPasswordMinimumNumeric<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setPasswordMinimumNumeric

Required features: "android-content-ComponentName"

pub fn getPasswordMinimumNumeric<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPasswordMinimumNumeric

Required features: "android-content-ComponentName"

pub fn setPasswordMinimumSymbols<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setPasswordMinimumSymbols

Required features: "android-content-ComponentName"

pub fn getPasswordMinimumSymbols<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPasswordMinimumSymbols

Required features: "android-content-ComponentName"

pub fn setPasswordMinimumNonLetter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setPasswordMinimumNonLetter

Required features: "android-content-ComponentName"

pub fn getPasswordMinimumNonLetter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPasswordMinimumNonLetter

Required features: "android-content-ComponentName"

pub fn setPasswordHistoryLength<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setPasswordHistoryLength

Required features: "android-content-ComponentName"

pub fn setPasswordExpirationTimeout<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]

setPasswordExpirationTimeout

Required features: "android-content-ComponentName"

pub fn getPasswordExpirationTimeout<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
[src]

getPasswordExpirationTimeout

Required features: "android-content-ComponentName"

pub fn getPasswordExpiration<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
[src]

getPasswordExpiration

Required features: "android-content-ComponentName"

pub fn getPasswordHistoryLength<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPasswordHistoryLength

Required features: "android-content-ComponentName"

pub fn getPasswordMaximumLength<'env>(
    &'env self,
    arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn isActivePasswordSufficient<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isUsingUnifiedPassword<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isUsingUnifiedPassword

Required features: "android-content-ComponentName"

pub fn getCurrentFailedPasswordAttempts<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setMaximumFailedPasswordsForWipe<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setMaximumFailedPasswordsForWipe

Required features: "android-content-ComponentName"

pub fn getMaximumFailedPasswordsForWipe<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getMaximumFailedPasswordsForWipe

Required features: "android-content-ComponentName"

pub fn resetPassword<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

resetPassword

Required features: "java-lang-String"

pub fn setResetPasswordToken<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
[src]

setResetPasswordToken

Required features: "android-content-ComponentName"

pub fn clearResetPasswordToken<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

clearResetPasswordToken

Required features: "android-content-ComponentName"

pub fn isResetPasswordTokenActive<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isResetPasswordTokenActive

Required features: "android-content-ComponentName"

pub fn resetPasswordWithToken<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ByteArray>>,
    arg3: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

resetPasswordWithToken

Required features: "android-content-ComponentName", "java-lang-String"

pub fn setMaximumTimeToLock<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]

setMaximumTimeToLock

Required features: "android-content-ComponentName"

pub fn getMaximumTimeToLock<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
[src]

getMaximumTimeToLock

Required features: "android-content-ComponentName"

pub fn setRequiredStrongAuthTimeout<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]

setRequiredStrongAuthTimeout

Required features: "android-content-ComponentName"

pub fn getRequiredStrongAuthTimeout<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i64, Local<'env, Throwable>>
[src]

getRequiredStrongAuthTimeout

Required features: "android-content-ComponentName"

pub fn lockNow<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn lockNow_int<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wipeData_int<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wipeData_int_CharSequence<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

wipeData

Required features: "java-lang-CharSequence"

pub fn setRecommendedGlobalProxy<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ProxyInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]

setRecommendedGlobalProxy

Required features: "android-content-ComponentName", "android-net-ProxyInfo"

pub fn setStorageEncryption<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<i32, Local<'env, Throwable>>
[src]

setStorageEncryption

Required features: "android-content-ComponentName"

pub fn getStorageEncryption<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

getStorageEncryption

Required features: "android-content-ComponentName"

pub fn getStorageEncryptionStatus<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn installCaCert<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
[src]

installCaCert

Required features: "android-content-ComponentName"

pub fn uninstallCaCert<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]

uninstallCaCert

Required features: "android-content-ComponentName"

pub fn getInstalledCaCerts<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getInstalledCaCerts

Required features: "android-content-ComponentName", "java-util-List"

pub fn uninstallAllUserCaCerts<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]

uninstallAllUserCaCerts

Required features: "android-content-ComponentName"

pub fn hasCaCertInstalled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
[src]

hasCaCertInstalled

Required features: "android-content-ComponentName"

pub fn installKeyPair_ComponentName_PrivateKey_Certificate_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env PrivateKey>>,
    arg2: impl Into<Option<&'env Certificate>>,
    arg3: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

installKeyPair

Required features: "android-content-ComponentName", "java-lang-String", "java-security-PrivateKey", "java-security-cert-Certificate"

pub fn installKeyPair_ComponentName_PrivateKey_Certificate_array_String_boolean<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env PrivateKey>>,
    arg2: impl Into<Option<&'env ObjectArray<Certificate, Throwable>>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: bool
) -> Result<bool, Local<'env, Throwable>>
[src]

installKeyPair

Required features: "android-content-ComponentName", "java-lang-String", "java-security-PrivateKey", "java-security-cert-Certificate"

pub fn installKeyPair_ComponentName_PrivateKey_Certificate_array_String_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env PrivateKey>>,
    arg2: impl Into<Option<&'env ObjectArray<Certificate, Throwable>>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

installKeyPair

Required features: "android-content-ComponentName", "java-lang-String", "java-security-PrivateKey", "java-security-cert-Certificate"

pub fn removeKeyPair<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

removeKeyPair

Required features: "android-content-ComponentName", "java-lang-String"

pub fn generateKeyPair<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env KeyGenParameterSpec>>,
    arg3: i32
) -> Result<Option<Local<'env, AttestedKeyPair>>, Local<'env, Throwable>>
[src]

generateKeyPair

Required features: "android-content-ComponentName", "android-security-AttestedKeyPair", "android-security-keystore-KeyGenParameterSpec", "java-lang-String"

pub fn isDeviceIdAttestationSupported<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setKeyPairCertificate<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env List>>,
    arg3: bool
) -> Result<bool, Local<'env, Throwable>>
[src]

setKeyPairCertificate

Required features: "android-content-ComponentName", "java-lang-String", "java-util-List"

pub fn setCertInstallerPackage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

setCertInstallerPackage

Required features: "android-content-ComponentName", "java-lang-String"

pub fn getCertInstallerPackage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

getCertInstallerPackage

Required features: "android-content-ComponentName", "java-lang-String"

pub fn setDelegatedScopes<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]

setDelegatedScopes

Required features: "android-content-ComponentName", "java-lang-String", "java-util-List"

pub fn getDelegatedScopes<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getDelegatedScopes

Required features: "android-content-ComponentName", "java-lang-String", "java-util-List"

pub fn getDelegatePackages<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getDelegatePackages

Required features: "android-content-ComponentName", "java-lang-String", "java-util-List"

pub fn setAlwaysOnVpnPackage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setAlwaysOnVpnPackage

Required features: "android-content-ComponentName", "java-lang-String"

pub fn getAlwaysOnVpnPackage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getAlwaysOnVpnPackage

Required features: "android-content-ComponentName", "java-lang-String"

pub fn setCameraDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setCameraDisabled

Required features: "android-content-ComponentName"

pub fn getCameraDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

getCameraDisabled

Required features: "android-content-ComponentName"

pub fn requestBugreport<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

requestBugreport

Required features: "android-content-ComponentName"

pub fn setScreenCaptureDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setScreenCaptureDisabled

Required features: "android-content-ComponentName"

pub fn getScreenCaptureDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

getScreenCaptureDisabled

Required features: "android-content-ComponentName"

pub fn setAutoTimeRequired<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setAutoTimeRequired

Required features: "android-content-ComponentName"

pub fn getAutoTimeRequired<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setKeyguardDisabledFeatures<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setKeyguardDisabledFeatures

Required features: "android-content-ComponentName"

pub fn getKeyguardDisabledFeatures<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getKeyguardDisabledFeatures

Required features: "android-content-ComponentName"

pub fn isDeviceOwnerApp<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isDeviceOwnerApp

Required features: "java-lang-String"

pub fn clearDeviceOwnerApp<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

clearDeviceOwnerApp

Required features: "java-lang-String"

pub fn clearProfileOwner<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

clearProfileOwner

Required features: "android-content-ComponentName"

pub fn setDeviceOwnerLockScreenInfo<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setDeviceOwnerLockScreenInfo

Required features: "android-content-ComponentName", "java-lang-CharSequence"

pub fn getDeviceOwnerLockScreenInfo<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getDeviceOwnerLockScreenInfo

Required features: "java-lang-CharSequence"

pub fn setPackagesSuspended<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg2: bool
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

setPackagesSuspended

Required features: "android-content-ComponentName", "java-lang-String"

pub fn isPackageSuspended<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isPackageSuspended

Required features: "android-content-ComponentName", "java-lang-String"

pub fn setProfileEnabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]

setProfileEnabled

Required features: "android-content-ComponentName"

pub fn setProfileName<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setProfileName

Required features: "android-content-ComponentName", "java-lang-String"

pub fn isProfileOwnerApp<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isProfileOwnerApp

Required features: "java-lang-String"

pub fn addPersistentPreferredActivity<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env IntentFilter>>,
    arg2: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]

addPersistentPreferredActivity

Required features: "android-content-ComponentName", "android-content-IntentFilter"

pub fn clearPackagePersistentPreferredActivities<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

clearPackagePersistentPreferredActivities

Required features: "android-content-ComponentName", "java-lang-String"

pub fn setApplicationRestrictionsManagingPackage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

setApplicationRestrictionsManagingPackage

Required features: "android-content-ComponentName", "java-lang-String"

pub fn getApplicationRestrictionsManagingPackage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

getApplicationRestrictionsManagingPackage

Required features: "android-content-ComponentName", "java-lang-String"

pub fn isCallerApplicationRestrictionsManagingPackage<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

pub fn setApplicationRestrictions<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

setApplicationRestrictions

Required features: "android-content-ComponentName", "android-os-Bundle", "java-lang-String"

pub fn setTrustAgentConfiguration<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ComponentName>>,
    arg2: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

setTrustAgentConfiguration

Required features: "android-content-ComponentName", "android-os-PersistableBundle"

pub fn getTrustAgentConfiguration<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getTrustAgentConfiguration

Required features: "android-content-ComponentName", "java-util-List"

pub fn setCrossProfileCallerIdDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setCrossProfileCallerIdDisabled

Required features: "android-content-ComponentName"

pub fn getCrossProfileCallerIdDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

getCrossProfileCallerIdDisabled

Required features: "android-content-ComponentName"

pub fn setCrossProfileContactsSearchDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setCrossProfileContactsSearchDisabled

Required features: "android-content-ComponentName"

pub fn getCrossProfileContactsSearchDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

getCrossProfileContactsSearchDisabled

Required features: "android-content-ComponentName"

pub fn setBluetoothContactSharingDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setBluetoothContactSharingDisabled

Required features: "android-content-ComponentName"

pub fn getBluetoothContactSharingDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

getBluetoothContactSharingDisabled

Required features: "android-content-ComponentName"

pub fn addCrossProfileIntentFilter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env IntentFilter>>,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

addCrossProfileIntentFilter

Required features: "android-content-ComponentName", "android-content-IntentFilter"

pub fn clearCrossProfileIntentFilters<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]

clearCrossProfileIntentFilters

Required features: "android-content-ComponentName"

pub fn setPermittedAccessibilityServices<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env List>>
) -> Result<bool, Local<'env, Throwable>>
[src]

setPermittedAccessibilityServices

Required features: "android-content-ComponentName", "java-util-List"

pub fn getPermittedAccessibilityServices<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getPermittedAccessibilityServices

Required features: "android-content-ComponentName", "java-util-List"

pub fn setPermittedInputMethods<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env List>>
) -> Result<bool, Local<'env, Throwable>>
[src]

setPermittedInputMethods

Required features: "android-content-ComponentName", "java-util-List"

pub fn getPermittedInputMethods<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getPermittedInputMethods

Required features: "android-content-ComponentName", "java-util-List"

pub fn setPermittedCrossProfileNotificationListeners<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env List>>
) -> Result<bool, Local<'env, Throwable>>
[src]

setPermittedCrossProfileNotificationListeners

Required features: "android-content-ComponentName", "java-util-List"

pub fn getPermittedCrossProfileNotificationListeners<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getPermittedCrossProfileNotificationListeners

Required features: "android-content-ComponentName", "java-util-List"

pub fn getKeepUninstalledPackages<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getKeepUninstalledPackages

Required features: "android-content-ComponentName", "java-util-List"

pub fn setKeepUninstalledPackages<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]

setKeepUninstalledPackages

Required features: "android-content-ComponentName", "java-util-List"

pub fn createAndManageUser<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ComponentName>>,
    arg3: impl Into<Option<&'env PersistableBundle>>,
    arg4: i32
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
[src]

createAndManageUser

Required features: "android-content-ComponentName", "android-os-PersistableBundle", "android-os-UserHandle", "java-lang-String"

pub fn removeUser<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
[src]

removeUser

Required features: "android-content-ComponentName", "android-os-UserHandle"

pub fn switchUser<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
[src]

switchUser

Required features: "android-content-ComponentName", "android-os-UserHandle"

pub fn startUserInBackground<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env UserHandle>>
) -> Result<i32, Local<'env, Throwable>>
[src]

startUserInBackground

Required features: "android-content-ComponentName", "android-os-UserHandle"

pub fn stopUser<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env UserHandle>>
) -> Result<i32, Local<'env, Throwable>>
[src]

stopUser

Required features: "android-content-ComponentName", "android-os-UserHandle"

pub fn logoutUser<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

logoutUser

Required features: "android-content-ComponentName"

pub fn getSecondaryUsers<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getSecondaryUsers

Required features: "android-content-ComponentName", "java-util-List"

pub fn isEphemeralUser<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isEphemeralUser

Required features: "android-content-ComponentName"

pub fn getApplicationRestrictions<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

getApplicationRestrictions

Required features: "android-content-ComponentName", "android-os-Bundle", "java-lang-String"

pub fn addUserRestriction<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

addUserRestriction

Required features: "android-content-ComponentName", "java-lang-String"

pub fn clearUserRestriction<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

clearUserRestriction

Required features: "android-content-ComponentName", "java-lang-String"

pub fn getUserRestrictions<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]

getUserRestrictions

Required features: "android-content-ComponentName", "android-os-Bundle"

pub fn createAdminSupportIntent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]

createAdminSupportIntent

Required features: "android-content-Intent", "java-lang-String"

pub fn setApplicationHidden<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: bool
) -> Result<bool, Local<'env, Throwable>>
[src]

setApplicationHidden

Required features: "android-content-ComponentName", "java-lang-String"

pub fn isApplicationHidden<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isApplicationHidden

Required features: "android-content-ComponentName", "java-lang-String"

pub fn enableSystemApp_ComponentName_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

enableSystemApp

Required features: "android-content-ComponentName", "java-lang-String"

pub fn enableSystemApp_ComponentName_Intent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env Intent>>
) -> Result<i32, Local<'env, Throwable>>
[src]

enableSystemApp

Required features: "android-content-ComponentName", "android-content-Intent"

pub fn installExistingPackage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

installExistingPackage

Required features: "android-content-ComponentName", "java-lang-String"

pub fn setAccountManagementDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setAccountManagementDisabled

Required features: "android-content-ComponentName", "java-lang-String"

pub fn getAccountTypesWithManagementDisabled<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

getAccountTypesWithManagementDisabled

Required features: "java-lang-String"

pub fn setLockTaskPackages<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

setLockTaskPackages

Required features: "android-content-ComponentName", "java-lang-String"

pub fn getLockTaskPackages<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

getLockTaskPackages

Required features: "android-content-ComponentName", "java-lang-String"

pub fn isLockTaskPermitted<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isLockTaskPermitted

Required features: "java-lang-String"

pub fn setLockTaskFeatures<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setLockTaskFeatures

Required features: "android-content-ComponentName"

pub fn getLockTaskFeatures<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getLockTaskFeatures

Required features: "android-content-ComponentName"

pub fn setGlobalSetting<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setGlobalSetting

Required features: "android-content-ComponentName", "java-lang-String"

pub fn setSystemSetting<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setSystemSetting

Required features: "android-content-ComponentName", "java-lang-String"

pub fn setTime<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i64
) -> Result<bool, Local<'env, Throwable>>
[src]

setTime

Required features: "android-content-ComponentName"

pub fn setTimeZone<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

setTimeZone

Required features: "android-content-ComponentName", "java-lang-String"

pub fn setSecureSetting<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setSecureSetting

Required features: "android-content-ComponentName", "java-lang-String"

pub fn setRestrictionsProvider<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]

setRestrictionsProvider

Required features: "android-content-ComponentName"

pub fn setMasterVolumeMuted<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setMasterVolumeMuted

Required features: "android-content-ComponentName"

pub fn isMasterVolumeMuted<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isMasterVolumeMuted

Required features: "android-content-ComponentName"

pub fn setUninstallBlocked<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setUninstallBlocked

Required features: "android-content-ComponentName", "java-lang-String"

pub fn isUninstallBlocked<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isUninstallBlocked

Required features: "android-content-ComponentName", "java-lang-String"

pub fn addCrossProfileWidgetProvider<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

addCrossProfileWidgetProvider

Required features: "android-content-ComponentName", "java-lang-String"

pub fn removeCrossProfileWidgetProvider<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

removeCrossProfileWidgetProvider

Required features: "android-content-ComponentName", "java-lang-String"

pub fn getCrossProfileWidgetProviders<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getCrossProfileWidgetProviders

Required features: "android-content-ComponentName", "java-util-List"

pub fn setUserIcon<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]

setUserIcon

Required features: "android-content-ComponentName", "android-graphics-Bitmap"

pub fn setSystemUpdatePolicy<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env SystemUpdatePolicy>>
) -> Result<(), Local<'env, Throwable>>
[src]

setSystemUpdatePolicy

Required features: "android-app-admin-SystemUpdatePolicy", "android-content-ComponentName"

pub fn getSystemUpdatePolicy<'env>(
    &'env self
) -> Result<Option<Local<'env, SystemUpdatePolicy>>, Local<'env, Throwable>>
[src]

getSystemUpdatePolicy

Required features: "android-app-admin-SystemUpdatePolicy"

pub fn setKeyguardDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<bool, Local<'env, Throwable>>
[src]

setKeyguardDisabled

Required features: "android-content-ComponentName"

pub fn setStatusBarDisabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<bool, Local<'env, Throwable>>
[src]

setStatusBarDisabled

Required features: "android-content-ComponentName"

pub fn getPendingSystemUpdate<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, SystemUpdateInfo>>, Local<'env, Throwable>>
[src]

getPendingSystemUpdate

Required features: "android-app-admin-SystemUpdateInfo", "android-content-ComponentName"

pub fn setPermissionPolicy<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setPermissionPolicy

Required features: "android-content-ComponentName"

pub fn getPermissionPolicy<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPermissionPolicy

Required features: "android-content-ComponentName"

pub fn setPermissionGrantState<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

setPermissionGrantState

Required features: "android-content-ComponentName", "java-lang-String"

pub fn getPermissionGrantState<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPermissionGrantState

Required features: "android-content-ComponentName", "java-lang-String"

pub fn isProvisioningAllowed<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isProvisioningAllowed

Required features: "java-lang-String"

pub fn isManagedProfile<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isManagedProfile

Required features: "android-content-ComponentName"

pub fn getWifiMacAddress<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getWifiMacAddress

Required features: "android-content-ComponentName", "java-lang-String"

pub fn reboot<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<(), Local<'env, Throwable>>
[src]

reboot

Required features: "android-content-ComponentName"

pub fn setShortSupportMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setShortSupportMessage

Required features: "android-content-ComponentName", "java-lang-CharSequence"

pub fn getShortSupportMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getShortSupportMessage

Required features: "android-content-ComponentName", "java-lang-CharSequence"

pub fn setLongSupportMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setLongSupportMessage

Required features: "android-content-ComponentName", "java-lang-CharSequence"

pub fn getLongSupportMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getLongSupportMessage

Required features: "android-content-ComponentName", "java-lang-CharSequence"

pub fn getParentProfileInstance<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, DevicePolicyManager>>, Local<'env, Throwable>>
[src]

getParentProfileInstance

Required features: "android-app-admin-DevicePolicyManager", "android-content-ComponentName"

pub fn setSecurityLoggingEnabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setSecurityLoggingEnabled

Required features: "android-content-ComponentName"

pub fn isSecurityLoggingEnabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isSecurityLoggingEnabled

Required features: "android-content-ComponentName"

pub fn retrieveSecurityLogs<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

retrieveSecurityLogs

Required features: "android-content-ComponentName", "java-util-List"

pub fn setMeteredDataDisabledPackages<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env List>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

setMeteredDataDisabledPackages

Required features: "android-content-ComponentName", "java-util-List"

pub fn getMeteredDataDisabledPackages<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getMeteredDataDisabledPackages

Required features: "android-content-ComponentName", "java-util-List"

pub fn retrievePreRebootSecurityLogs<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

retrievePreRebootSecurityLogs

Required features: "android-content-ComponentName", "java-util-List"

pub fn setOrganizationColor<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

setOrganizationColor

Required features: "android-content-ComponentName"

pub fn getOrganizationColor<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getOrganizationColor

Required features: "android-content-ComponentName"

pub fn setOrganizationName<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setOrganizationName

Required features: "android-content-ComponentName", "java-lang-CharSequence"

pub fn getOrganizationName<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getOrganizationName

Required features: "android-content-ComponentName", "java-lang-CharSequence"

pub fn setAffiliationIds<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env Set>>
) -> Result<(), Local<'env, Throwable>>
[src]

setAffiliationIds

Required features: "android-content-ComponentName", "java-util-Set"

pub fn getAffiliationIds<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]

getAffiliationIds

Required features: "android-content-ComponentName", "java-util-Set"

pub fn isAffiliatedUser<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setBackupServiceEnabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setBackupServiceEnabled

Required features: "android-content-ComponentName"

pub fn isBackupServiceEnabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isBackupServiceEnabled

Required features: "android-content-ComponentName"

pub fn setNetworkLoggingEnabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setNetworkLoggingEnabled

Required features: "android-content-ComponentName"

pub fn isNetworkLoggingEnabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isNetworkLoggingEnabled

Required features: "android-content-ComponentName"

pub fn retrieveNetworkLogs<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i64
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

retrieveNetworkLogs

Required features: "android-content-ComponentName", "java-util-List"

pub fn bindDeviceAdminServiceAsUser<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env Intent>>,
    arg2: impl Into<Option<&'env ServiceConnection>>,
    arg3: i32,
    arg4: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
[src]

bindDeviceAdminServiceAsUser

Required features: "android-content-ComponentName", "android-content-Intent", "android-content-ServiceConnection", "android-os-UserHandle"

pub fn getBindDeviceAdminTargetUsers<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getBindDeviceAdminTargetUsers

Required features: "android-content-ComponentName", "java-util-List"

pub fn clearApplicationUserData<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Executor>>,
    arg3: impl Into<Option<&'env DevicePolicyManager_OnClearApplicationUserDataListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

clearApplicationUserData

Required features: "android-app-admin-DevicePolicyManager_OnClearApplicationUserDataListener", "android-content-ComponentName", "java-lang-String", "java-util-concurrent-Executor"

pub fn setLogoutEnabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setLogoutEnabled

Required features: "android-content-ComponentName"

pub fn isLogoutEnabled<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn transferOwnership<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ComponentName>>,
    arg2: impl Into<Option<&'env PersistableBundle>>
) -> Result<(), Local<'env, Throwable>>
[src]

transferOwnership

Required features: "android-content-ComponentName", "android-os-PersistableBundle"

pub fn setStartUserSessionMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setStartUserSessionMessage

Required features: "android-content-ComponentName", "java-lang-CharSequence"

pub fn setEndUserSessionMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env CharSequence>>
) -> Result<(), Local<'env, Throwable>>
[src]

setEndUserSessionMessage

Required features: "android-content-ComponentName", "java-lang-CharSequence"

pub fn getStartUserSessionMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getStartUserSessionMessage

Required features: "android-content-ComponentName", "java-lang-CharSequence"

pub fn getEndUserSessionMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getEndUserSessionMessage

Required features: "android-content-ComponentName", "java-lang-CharSequence"

pub fn addOverrideApn<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: impl Into<Option<&'env ApnSetting>>
) -> Result<i32, Local<'env, Throwable>>
[src]

addOverrideApn

Required features: "android-content-ComponentName", "android-telephony-data-ApnSetting"

pub fn updateOverrideApn<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32,
    arg2: impl Into<Option<&'env ApnSetting>>
) -> Result<bool, Local<'env, Throwable>>
[src]

updateOverrideApn

Required features: "android-content-ComponentName", "android-telephony-data-ApnSetting"

pub fn removeOverrideApn<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

removeOverrideApn

Required features: "android-content-ComponentName"

pub fn getOverrideApns<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getOverrideApns

Required features: "android-content-ComponentName", "java-util-List"

pub fn setOverrideApnsEnabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setOverrideApnsEnabled

Required features: "android-content-ComponentName"

pub fn isOverrideApnEnabled<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ComponentName>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isOverrideApnEnabled

Required features: "android-content-ComponentName"

pub fn getTransferOwnershipBundle<'env>(
    &'env self
) -> Result<Option<Local<'env, PersistableBundle>>, Local<'env, Throwable>>
[src]

getTransferOwnershipBundle

Required features: "android-os-PersistableBundle"

pub const ACTION_ADD_DEVICE_ADMIN: &'static str[src]

public static final ACTION_ADD_DEVICE_ADMIN

pub const ACTION_APPLICATION_DELEGATION_SCOPES_CHANGED: &'static str[src]

pub const ACTION_DEVICE_ADMIN_SERVICE: &'static str[src]

public static final ACTION_DEVICE_ADMIN_SERVICE

pub const ACTION_DEVICE_OWNER_CHANGED: &'static str[src]

public static final ACTION_DEVICE_OWNER_CHANGED

pub const ACTION_MANAGED_PROFILE_PROVISIONED: &'static str[src]

pub const ACTION_PROFILE_OWNER_CHANGED: &'static str[src]

public static final ACTION_PROFILE_OWNER_CHANGED

pub const ACTION_PROVISIONING_SUCCESSFUL: &'static str[src]

public static final ACTION_PROVISIONING_SUCCESSFUL

pub const ACTION_PROVISION_MANAGED_DEVICE: &'static str[src]

public static final ACTION_PROVISION_MANAGED_DEVICE

pub const ACTION_PROVISION_MANAGED_PROFILE: &'static str[src]

pub const ACTION_SET_NEW_PARENT_PROFILE_PASSWORD: &'static str[src]

pub const ACTION_SET_NEW_PASSWORD: &'static str[src]

public static final ACTION_SET_NEW_PASSWORD

pub const ACTION_START_ENCRYPTION: &'static str[src]

public static final ACTION_START_ENCRYPTION

pub const ACTION_SYSTEM_UPDATE_POLICY_CHANGED: &'static str[src]

pub const DELEGATION_APP_RESTRICTIONS: &'static str[src]

public static final DELEGATION_APP_RESTRICTIONS

pub const DELEGATION_BLOCK_UNINSTALL: &'static str[src]

public static final DELEGATION_BLOCK_UNINSTALL

pub const DELEGATION_CERT_INSTALL: &'static str[src]

public static final DELEGATION_CERT_INSTALL

pub const DELEGATION_ENABLE_SYSTEM_APP: &'static str[src]

public static final DELEGATION_ENABLE_SYSTEM_APP

pub const DELEGATION_INSTALL_EXISTING_PACKAGE: &'static str[src]

pub const DELEGATION_KEEP_UNINSTALLED_PACKAGES: &'static str[src]

pub const DELEGATION_PACKAGE_ACCESS: &'static str[src]

public static final DELEGATION_PACKAGE_ACCESS

pub const DELEGATION_PERMISSION_GRANT: &'static str[src]

public static final DELEGATION_PERMISSION_GRANT

pub const ENCRYPTION_STATUS_ACTIVATING: i32[src]

public static final ENCRYPTION_STATUS_ACTIVATING

pub const ENCRYPTION_STATUS_ACTIVE: i32[src]

public static final ENCRYPTION_STATUS_ACTIVE

pub const ENCRYPTION_STATUS_ACTIVE_DEFAULT_KEY: i32[src]

pub const ENCRYPTION_STATUS_ACTIVE_PER_USER: i32[src]

pub const ENCRYPTION_STATUS_INACTIVE: i32[src]

public static final ENCRYPTION_STATUS_INACTIVE

pub const ENCRYPTION_STATUS_UNSUPPORTED: i32[src]

public static final ENCRYPTION_STATUS_UNSUPPORTED

pub const EXTRA_ADD_EXPLANATION: &'static str[src]

public static final EXTRA_ADD_EXPLANATION

pub const EXTRA_DELEGATION_SCOPES: &'static str[src]

public static final EXTRA_DELEGATION_SCOPES

pub const EXTRA_DEVICE_ADMIN: &'static str[src]

public static final EXTRA_DEVICE_ADMIN

pub const EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE: &'static str[src]

pub const EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE: &'static str[src]

pub const EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME: &'static str[src]

pub const EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION_CODE: &'static str[src]

pub const EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM: &'static str[src]

pub const EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION: &'static str[src]

pub const EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME: &'static str[src]

Deprecated

pub const EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM: &'static str[src]

pub const EXTRA_PROVISIONING_DISCLAIMERS: &'static str[src]

public static final EXTRA_PROVISIONING_DISCLAIMERS

pub const EXTRA_PROVISIONING_DISCLAIMER_CONTENT: &'static str[src]

pub const EXTRA_PROVISIONING_DISCLAIMER_HEADER: &'static str[src]

pub const EXTRA_PROVISIONING_EMAIL_ADDRESS: &'static str[src]

Deprecated

pub const EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION: &'static str[src]

pub const EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED: &'static str[src]

pub const EXTRA_PROVISIONING_LOCALE: &'static str[src]

public static final EXTRA_PROVISIONING_LOCALE

pub const EXTRA_PROVISIONING_LOCAL_TIME: &'static str[src]

public static final EXTRA_PROVISIONING_LOCAL_TIME

pub const EXTRA_PROVISIONING_LOGO_URI: &'static str[src]

public static final EXTRA_PROVISIONING_LOGO_URI

pub const EXTRA_PROVISIONING_MAIN_COLOR: &'static str[src]

public static final EXTRA_PROVISIONING_MAIN_COLOR

pub const EXTRA_PROVISIONING_SKIP_ENCRYPTION: &'static str[src]

pub const EXTRA_PROVISIONING_TIME_ZONE: &'static str[src]

public static final EXTRA_PROVISIONING_TIME_ZONE

pub const EXTRA_PROVISIONING_WIFI_HIDDEN: &'static str[src]

public static final EXTRA_PROVISIONING_WIFI_HIDDEN

pub const EXTRA_PROVISIONING_WIFI_PAC_URL: &'static str[src]

public static final EXTRA_PROVISIONING_WIFI_PAC_URL

pub const EXTRA_PROVISIONING_WIFI_PASSWORD: &'static str[src]

pub const EXTRA_PROVISIONING_WIFI_PROXY_BYPASS: &'static str[src]

pub const EXTRA_PROVISIONING_WIFI_PROXY_HOST: &'static str[src]

pub const EXTRA_PROVISIONING_WIFI_PROXY_PORT: &'static str[src]

pub const EXTRA_PROVISIONING_WIFI_SECURITY_TYPE: &'static str[src]

pub const EXTRA_PROVISIONING_WIFI_SSID: &'static str[src]

public static final EXTRA_PROVISIONING_WIFI_SSID

pub const FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY: i32[src]

pub const FLAG_MANAGED_CAN_ACCESS_PARENT: i32[src]

public static final FLAG_MANAGED_CAN_ACCESS_PARENT

pub const FLAG_PARENT_CAN_ACCESS_MANAGED: i32[src]

public static final FLAG_PARENT_CAN_ACCESS_MANAGED

pub const ID_TYPE_BASE_INFO: i32[src]

public static final ID_TYPE_BASE_INFO

pub const ID_TYPE_IMEI: i32[src]

public static final ID_TYPE_IMEI

pub const ID_TYPE_MEID: i32[src]

public static final ID_TYPE_MEID

pub const ID_TYPE_SERIAL: i32[src]

public static final ID_TYPE_SERIAL

pub const INSTALLKEY_REQUEST_CREDENTIALS_ACCESS: i32[src]

pub const INSTALLKEY_SET_USER_SELECTABLE: i32[src]

public static final INSTALLKEY_SET_USER_SELECTABLE

pub const KEYGUARD_DISABLE_BIOMETRICS: i32[src]

public static final KEYGUARD_DISABLE_BIOMETRICS

pub const KEYGUARD_DISABLE_FACE: i32[src]

public static final KEYGUARD_DISABLE_FACE

pub const KEYGUARD_DISABLE_FEATURES_ALL: i32[src]

public static final KEYGUARD_DISABLE_FEATURES_ALL

pub const KEYGUARD_DISABLE_FEATURES_NONE: i32[src]

public static final KEYGUARD_DISABLE_FEATURES_NONE

pub const KEYGUARD_DISABLE_FINGERPRINT: i32[src]

public static final KEYGUARD_DISABLE_FINGERPRINT

pub const KEYGUARD_DISABLE_IRIS: i32[src]

public static final KEYGUARD_DISABLE_IRIS

pub const KEYGUARD_DISABLE_REMOTE_INPUT: i32[src]

public static final KEYGUARD_DISABLE_REMOTE_INPUT

pub const KEYGUARD_DISABLE_SECURE_CAMERA: i32[src]

public static final KEYGUARD_DISABLE_SECURE_CAMERA

pub const KEYGUARD_DISABLE_SECURE_NOTIFICATIONS: i32[src]

pub const KEYGUARD_DISABLE_TRUST_AGENTS: i32[src]

public static final KEYGUARD_DISABLE_TRUST_AGENTS

pub const KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS: i32[src]

pub const KEYGUARD_DISABLE_WIDGETS_ALL: i32[src]

public static final KEYGUARD_DISABLE_WIDGETS_ALL

pub const LEAVE_ALL_SYSTEM_APPS_ENABLED: i32[src]

public static final LEAVE_ALL_SYSTEM_APPS_ENABLED

pub const LOCK_TASK_FEATURE_GLOBAL_ACTIONS: i32[src]

pub const LOCK_TASK_FEATURE_HOME: i32[src]

public static final LOCK_TASK_FEATURE_HOME

pub const LOCK_TASK_FEATURE_KEYGUARD: i32[src]

public static final LOCK_TASK_FEATURE_KEYGUARD

pub const LOCK_TASK_FEATURE_NONE: i32[src]

public static final LOCK_TASK_FEATURE_NONE

pub const LOCK_TASK_FEATURE_NOTIFICATIONS: i32[src]

public static final LOCK_TASK_FEATURE_NOTIFICATIONS

pub const LOCK_TASK_FEATURE_OVERVIEW: i32[src]

public static final LOCK_TASK_FEATURE_OVERVIEW

pub const LOCK_TASK_FEATURE_SYSTEM_INFO: i32[src]

public static final LOCK_TASK_FEATURE_SYSTEM_INFO

pub const MAKE_USER_EPHEMERAL: i32[src]

public static final MAKE_USER_EPHEMERAL

pub const MIME_TYPE_PROVISIONING_NFC: &'static str[src]

public static final MIME_TYPE_PROVISIONING_NFC

pub const PASSWORD_QUALITY_ALPHABETIC: i32[src]

public static final PASSWORD_QUALITY_ALPHABETIC

pub const PASSWORD_QUALITY_ALPHANUMERIC: i32[src]

public static final PASSWORD_QUALITY_ALPHANUMERIC

pub const PASSWORD_QUALITY_BIOMETRIC_WEAK: i32[src]

public static final PASSWORD_QUALITY_BIOMETRIC_WEAK

pub const PASSWORD_QUALITY_COMPLEX: i32[src]

public static final PASSWORD_QUALITY_COMPLEX

pub const PASSWORD_QUALITY_NUMERIC: i32[src]

public static final PASSWORD_QUALITY_NUMERIC

pub const PASSWORD_QUALITY_NUMERIC_COMPLEX: i32[src]

pub const PASSWORD_QUALITY_SOMETHING: i32[src]

public static final PASSWORD_QUALITY_SOMETHING

pub const PASSWORD_QUALITY_UNSPECIFIED: i32[src]

public static final PASSWORD_QUALITY_UNSPECIFIED

pub const PERMISSION_GRANT_STATE_DEFAULT: i32[src]

public static final PERMISSION_GRANT_STATE_DEFAULT

pub const PERMISSION_GRANT_STATE_DENIED: i32[src]

public static final PERMISSION_GRANT_STATE_DENIED

pub const PERMISSION_GRANT_STATE_GRANTED: i32[src]

public static final PERMISSION_GRANT_STATE_GRANTED

pub const PERMISSION_POLICY_AUTO_DENY: i32[src]

public static final PERMISSION_POLICY_AUTO_DENY

pub const PERMISSION_POLICY_AUTO_GRANT: i32[src]

public static final PERMISSION_POLICY_AUTO_GRANT

pub const PERMISSION_POLICY_PROMPT: i32[src]

public static final PERMISSION_POLICY_PROMPT

pub const POLICY_DISABLE_CAMERA: &'static str[src]

public static final POLICY_DISABLE_CAMERA

pub const POLICY_DISABLE_SCREEN_CAPTURE: &'static str[src]

public static final POLICY_DISABLE_SCREEN_CAPTURE

pub const RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT: i32[src]

pub const RESET_PASSWORD_REQUIRE_ENTRY: i32[src]

public static final RESET_PASSWORD_REQUIRE_ENTRY

pub const SKIP_SETUP_WIZARD: i32[src]

public static final SKIP_SETUP_WIZARD

pub const WIPE_EUICC: i32[src]

public static final WIPE_EUICC

pub const WIPE_EXTERNAL_STORAGE: i32[src]

public static final WIPE_EXTERNAL_STORAGE

pub const WIPE_RESET_PROTECTION_DATA: i32[src]

public static final WIPE_RESET_PROTECTION_DATA

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for DevicePolicyManager

impl AsValidJObjectAndEnv for DevicePolicyManager

impl Deref for DevicePolicyManager

type Target = Object

The resulting type after dereferencing.

impl JniType for DevicePolicyManager

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.