[−]Struct jni_android_sys::android::os::UserManager
public class UserManager
Required feature: "android-os-UserManager"
Methods
impl UserManager
pub fn supportsMultipleUsers<'env>(
__jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<bool, Local<'env, Throwable>>
pub fn getUserName<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn isUserAGoat<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isSystemUser<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isDemoUser<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isUserRunning<'env>(
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
pub fn isUserRunningOrStopping<'env>(
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
pub fn isUserUnlocked<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isUserUnlocked_UserHandle<'env>(
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
pub fn getUserRestrictions<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn getUserRestrictions_UserHandle<'env>(
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle", "android-os-UserHandle"
pub fn setUserRestrictions_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn setUserRestrictions_Bundle_UserHandle<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle", "android-os-UserHandle"
pub fn setUserRestriction<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn hasUserRestriction<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSerialNumberForUser<'env>(
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
pub fn getUserForSerialNumber<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
pub fn createUserCreationIntent<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env PersistableBundle>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env PersistableBundle>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-PersistableBundle", "java-lang-String"
pub fn getUserCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getUserProfiles<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn requestQuietModeEnabled<'env>(
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
pub fn isQuietModeEnabled<'env>(
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
pub fn getApplicationRestrictions<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle", "java-lang-String"
pub fn setRestrictionsChallenge<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getUserCreationTime<'env>(
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env UserHandle>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
pub const ALLOW_PARENT_PROFILE_APP_LINKING: &'static str
[src]
public static final ALLOW_PARENT_PROFILE_APP_LINKING
pub const DISALLOW_ADD_MANAGED_PROFILE: &'static str
[src]
public static final DISALLOW_ADD_MANAGED_PROFILE
pub const DISALLOW_ADD_USER: &'static str
[src]
public static final DISALLOW_ADD_USER
pub const DISALLOW_ADJUST_VOLUME: &'static str
[src]
public static final DISALLOW_ADJUST_VOLUME
pub const DISALLOW_AIRPLANE_MODE: &'static str
[src]
public static final DISALLOW_AIRPLANE_MODE
pub const DISALLOW_AMBIENT_DISPLAY: &'static str
[src]
public static final DISALLOW_AMBIENT_DISPLAY
pub const DISALLOW_APPS_CONTROL: &'static str
[src]
public static final DISALLOW_APPS_CONTROL
pub const DISALLOW_AUTOFILL: &'static str
[src]
public static final DISALLOW_AUTOFILL
pub const DISALLOW_BLUETOOTH: &'static str
[src]
public static final DISALLOW_BLUETOOTH
pub const DISALLOW_BLUETOOTH_SHARING: &'static str
[src]
public static final DISALLOW_BLUETOOTH_SHARING
pub const DISALLOW_CONFIG_BLUETOOTH: &'static str
[src]
public static final DISALLOW_CONFIG_BLUETOOTH
pub const DISALLOW_CONFIG_BRIGHTNESS: &'static str
[src]
public static final DISALLOW_CONFIG_BRIGHTNESS
pub const DISALLOW_CONFIG_CELL_BROADCASTS: &'static str
[src]
public static final DISALLOW_CONFIG_CELL_BROADCASTS
pub const DISALLOW_CONFIG_CREDENTIALS: &'static str
[src]
public static final DISALLOW_CONFIG_CREDENTIALS
pub const DISALLOW_CONFIG_DATE_TIME: &'static str
[src]
public static final DISALLOW_CONFIG_DATE_TIME
pub const DISALLOW_CONFIG_LOCALE: &'static str
[src]
public static final DISALLOW_CONFIG_LOCALE
pub const DISALLOW_CONFIG_LOCATION: &'static str
[src]
public static final DISALLOW_CONFIG_LOCATION
pub const DISALLOW_CONFIG_MOBILE_NETWORKS: &'static str
[src]
public static final DISALLOW_CONFIG_MOBILE_NETWORKS
pub const DISALLOW_CONFIG_SCREEN_TIMEOUT: &'static str
[src]
public static final DISALLOW_CONFIG_SCREEN_TIMEOUT
pub const DISALLOW_CONFIG_TETHERING: &'static str
[src]
public static final DISALLOW_CONFIG_TETHERING
pub const DISALLOW_CONFIG_VPN: &'static str
[src]
public static final DISALLOW_CONFIG_VPN
pub const DISALLOW_CONFIG_WIFI: &'static str
[src]
public static final DISALLOW_CONFIG_WIFI
pub const DISALLOW_CREATE_WINDOWS: &'static str
[src]
public static final DISALLOW_CREATE_WINDOWS
pub const DISALLOW_CROSS_PROFILE_COPY_PASTE: &'static str
[src]
public static final DISALLOW_CROSS_PROFILE_COPY_PASTE
pub const DISALLOW_DATA_ROAMING: &'static str
[src]
public static final DISALLOW_DATA_ROAMING
pub const DISALLOW_DEBUGGING_FEATURES: &'static str
[src]
public static final DISALLOW_DEBUGGING_FEATURES
pub const DISALLOW_FACTORY_RESET: &'static str
[src]
public static final DISALLOW_FACTORY_RESET
pub const DISALLOW_FUN: &'static str
[src]
public static final DISALLOW_FUN
pub const DISALLOW_INSTALL_APPS: &'static str
[src]
public static final DISALLOW_INSTALL_APPS
pub const DISALLOW_INSTALL_UNKNOWN_SOURCES: &'static str
[src]
public static final DISALLOW_INSTALL_UNKNOWN_SOURCES
pub const DISALLOW_MODIFY_ACCOUNTS: &'static str
[src]
public static final DISALLOW_MODIFY_ACCOUNTS
pub const DISALLOW_MOUNT_PHYSICAL_MEDIA: &'static str
[src]
public static final DISALLOW_MOUNT_PHYSICAL_MEDIA
pub const DISALLOW_NETWORK_RESET: &'static str
[src]
public static final DISALLOW_NETWORK_RESET
pub const DISALLOW_OUTGOING_BEAM: &'static str
[src]
public static final DISALLOW_OUTGOING_BEAM
pub const DISALLOW_OUTGOING_CALLS: &'static str
[src]
public static final DISALLOW_OUTGOING_CALLS
pub const DISALLOW_PRINTING: &'static str
[src]
public static final DISALLOW_PRINTING
pub const DISALLOW_REMOVE_MANAGED_PROFILE: &'static str
[src]
public static final DISALLOW_REMOVE_MANAGED_PROFILE
pub const DISALLOW_REMOVE_USER: &'static str
[src]
public static final DISALLOW_REMOVE_USER
pub const DISALLOW_SAFE_BOOT: &'static str
[src]
public static final DISALLOW_SAFE_BOOT
pub const DISALLOW_SET_USER_ICON: &'static str
[src]
public static final DISALLOW_SET_USER_ICON
pub const DISALLOW_SET_WALLPAPER: &'static str
[src]
public static final DISALLOW_SET_WALLPAPER
pub const DISALLOW_SHARE_INTO_MANAGED_PROFILE: &'static str
[src]
public static final DISALLOW_SHARE_INTO_MANAGED_PROFILE
pub const DISALLOW_SHARE_LOCATION: &'static str
[src]
public static final DISALLOW_SHARE_LOCATION
pub const DISALLOW_SMS: &'static str
[src]
public static final DISALLOW_SMS
pub const DISALLOW_SYSTEM_ERROR_DIALOGS: &'static str
[src]
public static final DISALLOW_SYSTEM_ERROR_DIALOGS
pub const DISALLOW_UNIFIED_PASSWORD: &'static str
[src]
public static final DISALLOW_UNIFIED_PASSWORD
pub const DISALLOW_UNINSTALL_APPS: &'static str
[src]
public static final DISALLOW_UNINSTALL_APPS
pub const DISALLOW_UNMUTE_MICROPHONE: &'static str
[src]
public static final DISALLOW_UNMUTE_MICROPHONE
pub const DISALLOW_USB_FILE_TRANSFER: &'static str
[src]
public static final DISALLOW_USB_FILE_TRANSFER
pub const DISALLOW_USER_SWITCH: &'static str
[src]
public static final DISALLOW_USER_SWITCH
pub const ENSURE_VERIFY_APPS: &'static str
[src]
public static final ENSURE_VERIFY_APPS
pub const KEY_RESTRICTIONS_PENDING: &'static str
[src]
public static final KEY_RESTRICTIONS_PENDING
pub const USER_CREATION_FAILED_NOT_PERMITTED: i32
[src]
public static final USER_CREATION_FAILED_NOT_PERMITTED
pub const USER_CREATION_FAILED_NO_MORE_USERS: i32
[src]
public static final USER_CREATION_FAILED_NO_MORE_USERS
pub const USER_OPERATION_ERROR_CURRENT_USER: i32
[src]
public static final USER_OPERATION_ERROR_CURRENT_USER
pub const USER_OPERATION_ERROR_LOW_STORAGE: i32
[src]
public static final USER_OPERATION_ERROR_LOW_STORAGE
pub const USER_OPERATION_ERROR_MANAGED_PROFILE: i32
[src]
public static final USER_OPERATION_ERROR_MANAGED_PROFILE
pub const USER_OPERATION_ERROR_MAX_RUNNING_USERS: i32
[src]
public static final USER_OPERATION_ERROR_MAX_RUNNING_USERS
pub const USER_OPERATION_ERROR_MAX_USERS: i32
[src]
public static final USER_OPERATION_ERROR_MAX_USERS
pub const USER_OPERATION_ERROR_UNKNOWN: i32
[src]
public static final USER_OPERATION_ERROR_UNKNOWN
pub const USER_OPERATION_SUCCESS: i32
[src]
public static final USER_OPERATION_SUCCESS
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for UserManager
impl AsValidJObjectAndEnv for UserManager
impl Deref for UserManager
impl JniType for UserManager
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for UserManager
impl !Send for UserManager
impl !Sync for UserManager
impl Unpin for UserManager
impl UnwindSafe for UserManager
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,