[−]Struct jni_android_sys::android::provider::Settings_Global
public final class Settings.Global
Required feature: "android-provider-Settings_Global"
Methods
impl Settings_Global
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, Settings_Global>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, Settings_Global>, Local<'env, Throwable>>
pub fn getString<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-content-ContentResolver", "java-lang-String"
pub fn putString<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ContentResolver", "java-lang-String"
pub fn getUriFor<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn getInt_ContentResolver_String_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ContentResolver", "java-lang-String"
pub fn getInt_ContentResolver_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-ContentResolver", "java-lang-String"
pub fn putInt<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ContentResolver", "java-lang-String"
pub fn getLong_ContentResolver_String_long<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: i64
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-content-ContentResolver", "java-lang-String"
pub fn getLong_ContentResolver_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i64, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "android-content-ContentResolver", "java-lang-String"
pub fn putLong<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: i64
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ContentResolver", "java-lang-String"
pub fn getFloat_ContentResolver_String_float<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: f32
) -> Result<f32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: f32
) -> Result<f32, Local<'env, Throwable>>
Required features: "android-content-ContentResolver", "java-lang-String"
pub fn getFloat_ContentResolver_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>
) -> Result<f32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>
) -> Result<f32, Local<'env, Throwable>>
Required features: "android-content-ContentResolver", "java-lang-String"
pub fn putFloat<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: f32
) -> Result<bool, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>,
arg1: impl Into<Option<&'env String>>,
arg2: f32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ContentResolver", "java-lang-String"
pub const ADB_ENABLED: &'static str
[src]
public static final ADB_ENABLED
pub const AIRPLANE_MODE_ON: &'static str
[src]
public static final AIRPLANE_MODE_ON
pub const AIRPLANE_MODE_RADIOS: &'static str
[src]
public static final AIRPLANE_MODE_RADIOS
pub const ALWAYS_FINISH_ACTIVITIES: &'static str
[src]
public static final ALWAYS_FINISH_ACTIVITIES
pub const ANIMATOR_DURATION_SCALE: &'static str
[src]
public static final ANIMATOR_DURATION_SCALE
pub const AUTO_TIME: &'static str
[src]
public static final AUTO_TIME
pub const AUTO_TIME_ZONE: &'static str
[src]
public static final AUTO_TIME_ZONE
pub const BLUETOOTH_ON: &'static str
[src]
public static final BLUETOOTH_ON
pub const BOOT_COUNT: &'static str
[src]
public static final BOOT_COUNT
pub const CONTACT_METADATA_SYNC_ENABLED: &'static str
[src]
public static final CONTACT_METADATA_SYNC_ENABLED
pub fn CONTENT_URI<'env>(env: &'env Env) -> Option<Local<'env, Uri>>
[src]
get public static final CONTENT_URI
Required feature: "android-net-Uri"
pub const DATA_ROAMING: &'static str
[src]
public static final DATA_ROAMING
pub const DEBUG_APP: &'static str
[src]
public static final DEBUG_APP
pub const DEVELOPMENT_SETTINGS_ENABLED: &'static str
[src]
public static final DEVELOPMENT_SETTINGS_ENABLED
pub const DEVICE_NAME: &'static str
[src]
public static final DEVICE_NAME
pub const DEVICE_PROVISIONED: &'static str
[src]
public static final DEVICE_PROVISIONED
pub const HTTP_PROXY: &'static str
[src]
public static final HTTP_PROXY
pub const INSTALL_NON_MARKET_APPS: &'static str
[src]
public static final INSTALL_NON_MARKET_APPS
pub const MODE_RINGER: &'static str
[src]
public static final MODE_RINGER
pub const NETWORK_PREFERENCE: &'static str
[src]
public static final NETWORK_PREFERENCE
pub const RADIO_BLUETOOTH: &'static str
[src]
public static final RADIO_BLUETOOTH
pub const RADIO_CELL: &'static str
[src]
public static final RADIO_CELL
pub const RADIO_NFC: &'static str
[src]
public static final RADIO_NFC
pub const RADIO_WIFI: &'static str
[src]
public static final RADIO_WIFI
pub const SHOW_PROCESSES: &'static str
[src]
public static final SHOW_PROCESSES
pub const STAY_ON_WHILE_PLUGGED_IN: &'static str
[src]
public static final STAY_ON_WHILE_PLUGGED_IN
pub const TRANSITION_ANIMATION_SCALE: &'static str
[src]
public static final TRANSITION_ANIMATION_SCALE
pub const USB_MASS_STORAGE_ENABLED: &'static str
[src]
public static final USB_MASS_STORAGE_ENABLED
pub const USE_GOOGLE_MAIL: &'static str
[src]
public static final USE_GOOGLE_MAIL
pub const WAIT_FOR_DEBUGGER: &'static str
[src]
public static final WAIT_FOR_DEBUGGER
pub const WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN: &'static str
[src]
public static final WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN
pub const WIFI_MAX_DHCP_RETRY_COUNT: &'static str
[src]
public static final WIFI_MAX_DHCP_RETRY_COUNT
pub const WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS: &'static str
[src]
public static final WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS
pub const WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON: &'static str
[src]
public static final WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON
pub const WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY: &'static str
[src]
public static final WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
pub const WIFI_NUM_OPEN_NETWORKS_KEPT: &'static str
[src]
public static final WIFI_NUM_OPEN_NETWORKS_KEPT
pub const WIFI_ON: &'static str
[src]
public static final WIFI_ON
pub const WIFI_SLEEP_POLICY: &'static str
[src]
public static final WIFI_SLEEP_POLICY
pub const WIFI_SLEEP_POLICY_DEFAULT: i32
[src]
public static final WIFI_SLEEP_POLICY_DEFAULT
pub const WIFI_SLEEP_POLICY_NEVER: i32
[src]
public static final WIFI_SLEEP_POLICY_NEVER
pub const WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED: i32
[src]
public static final WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED
pub const WIFI_WATCHDOG_ON: &'static str
[src]
public static final WIFI_WATCHDOG_ON
pub const WINDOW_ANIMATION_SCALE: &'static str
[src]
public static final WINDOW_ANIMATION_SCALE
Methods from Deref<Target = Settings_NameValueTable>
Trait Implementations
impl AsJValue for Settings_Global
impl AsValidJObjectAndEnv for Settings_Global
impl Deref for Settings_Global
type Target = Settings_NameValueTable
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for Settings_Global
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Settings_Global
impl !Send for Settings_Global
impl !Sync for Settings_Global
impl Unpin for Settings_Global
impl UnwindSafe for Settings_Global
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>,