[]Struct jni_android_sys::android::provider::Settings_Global

#[repr(transparent)]
pub struct 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]

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]

getString

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]

putString

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]

getUriFor

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]

getInt

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]

getInt

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]

putInt

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]

getLong

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]

getLong

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]

putLong

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]

getFloat

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]

getFloat

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]

putFloat

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]

Deprecated

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]

Deprecated

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]

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]

pub const WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON: &'static str[src]

Deprecated

pub const WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY: &'static str[src]

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]

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>

pub const NAME: &'static str[src]

pub const VALUE: &'static str[src]

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.

impl JniType for Settings_Global

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.