[]Struct jni_android_sys::android::provider::Settings_Secure

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

public final class Settings.Secure

Required feature: "android-provider-Settings_Secure"

Methods

impl Settings_Secure

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, Settings_Secure>, 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 fn isLocationProviderEnabled<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

isLocationProviderEnabled

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

pub fn setLocationProviderEnabled<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

setLocationProviderEnabled

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

pub const ACCESSIBILITY_DISPLAY_INVERSION_ENABLED: &'static str[src]

pub const ACCESSIBILITY_ENABLED: &'static str[src]

public static final ACCESSIBILITY_ENABLED

pub const ACCESSIBILITY_SPEAK_PASSWORD: &'static str[src]

Deprecated

public static final ACCESSIBILITY_SPEAK_PASSWORD

pub const ADB_ENABLED: &'static str[src]

Deprecated

public static final ADB_ENABLED

pub const ALLOWED_GEOLOCATION_ORIGINS: &'static str[src]

public static final ALLOWED_GEOLOCATION_ORIGINS

pub const ALLOW_MOCK_LOCATION: &'static str[src]

Deprecated

public static final ALLOW_MOCK_LOCATION

pub const ANDROID_ID: &'static str[src]

public static final ANDROID_ID

pub const BACKGROUND_DATA: &'static str[src]

Deprecated

public static final BACKGROUND_DATA

pub const BLUETOOTH_ON: &'static str[src]

Deprecated

public static final BLUETOOTH_ON

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]

Deprecated

public static final DATA_ROAMING

pub const DEFAULT_INPUT_METHOD: &'static str[src]

public static final DEFAULT_INPUT_METHOD

pub const DEVELOPMENT_SETTINGS_ENABLED: &'static str[src]

Deprecated

public static final DEVELOPMENT_SETTINGS_ENABLED

pub const DEVICE_PROVISIONED: &'static str[src]

Deprecated

public static final DEVICE_PROVISIONED

pub const ENABLED_ACCESSIBILITY_SERVICES: &'static str[src]

public static final ENABLED_ACCESSIBILITY_SERVICES

pub const ENABLED_INPUT_METHODS: &'static str[src]

public static final ENABLED_INPUT_METHODS

pub const HTTP_PROXY: &'static str[src]

Deprecated

public static final HTTP_PROXY

pub const INPUT_METHOD_SELECTOR_VISIBILITY: &'static str[src]

pub const INSTALL_NON_MARKET_APPS: &'static str[src]

Deprecated

public static final INSTALL_NON_MARKET_APPS

pub const LOCATION_MODE: &'static str[src]

Deprecated

public static final LOCATION_MODE

pub const LOCATION_MODE_BATTERY_SAVING: i32[src]

Deprecated

public static final LOCATION_MODE_BATTERY_SAVING

pub const LOCATION_MODE_HIGH_ACCURACY: i32[src]

Deprecated

public static final LOCATION_MODE_HIGH_ACCURACY

pub const LOCATION_MODE_OFF: i32[src]

Deprecated

public static final LOCATION_MODE_OFF

pub const LOCATION_MODE_SENSORS_ONLY: i32[src]

Deprecated

public static final LOCATION_MODE_SENSORS_ONLY

pub const LOCATION_PROVIDERS_ALLOWED: &'static str[src]

Deprecated

public static final LOCATION_PROVIDERS_ALLOWED

pub const LOCK_PATTERN_ENABLED: &'static str[src]

Deprecated

public static final LOCK_PATTERN_ENABLED

pub const LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED: &'static str[src]

Deprecated

pub const LOCK_PATTERN_VISIBLE: &'static str[src]

Deprecated

public static final LOCK_PATTERN_VISIBLE

pub const LOGGING_ID: &'static str[src]

Deprecated

public static final LOGGING_ID

pub const NETWORK_PREFERENCE: &'static str[src]

Deprecated

public static final NETWORK_PREFERENCE

pub const PARENTAL_CONTROL_ENABLED: &'static str[src]

public static final PARENTAL_CONTROL_ENABLED

pub const PARENTAL_CONTROL_LAST_UPDATE: &'static str[src]

public static final PARENTAL_CONTROL_LAST_UPDATE

pub const PARENTAL_CONTROL_REDIRECT_URL: &'static str[src]

public static final PARENTAL_CONTROL_REDIRECT_URL

pub const RTT_CALLING_MODE: &'static str[src]

public static final RTT_CALLING_MODE

pub const SELECTED_INPUT_METHOD_SUBTYPE: &'static str[src]

public static final SELECTED_INPUT_METHOD_SUBTYPE

pub const SETTINGS_CLASSNAME: &'static str[src]

public static final SETTINGS_CLASSNAME

pub const SKIP_FIRST_USE_HINTS: &'static str[src]

public static final SKIP_FIRST_USE_HINTS

pub const TOUCH_EXPLORATION_ENABLED: &'static str[src]

public static final TOUCH_EXPLORATION_ENABLED

pub const TTS_DEFAULT_COUNTRY: &'static str[src]

Deprecated

public static final TTS_DEFAULT_COUNTRY

pub const TTS_DEFAULT_LANG: &'static str[src]

Deprecated

public static final TTS_DEFAULT_LANG

pub const TTS_DEFAULT_PITCH: &'static str[src]

public static final TTS_DEFAULT_PITCH

pub const TTS_DEFAULT_RATE: &'static str[src]

public static final TTS_DEFAULT_RATE

pub const TTS_DEFAULT_SYNTH: &'static str[src]

public static final TTS_DEFAULT_SYNTH

pub const TTS_DEFAULT_VARIANT: &'static str[src]

Deprecated

public static final TTS_DEFAULT_VARIANT

pub const TTS_ENABLED_PLUGINS: &'static str[src]

public static final TTS_ENABLED_PLUGINS

pub const TTS_USE_DEFAULTS: &'static str[src]

Deprecated

public static final TTS_USE_DEFAULTS

pub const USB_MASS_STORAGE_ENABLED: &'static str[src]

Deprecated

public static final USB_MASS_STORAGE_ENABLED

pub const USE_GOOGLE_MAIL: &'static str[src]

Deprecated

public static final USE_GOOGLE_MAIL

pub const WIFI_MAX_DHCP_RETRY_COUNT: &'static str[src]

Deprecated

public static final WIFI_MAX_DHCP_RETRY_COUNT

pub const WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS: &'static str[src]

Deprecated

pub const WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON: &'static str[src]

Deprecated

pub const WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY: &'static str[src]

Deprecated

pub const WIFI_NUM_OPEN_NETWORKS_KEPT: &'static str[src]

Deprecated

public static final WIFI_NUM_OPEN_NETWORKS_KEPT

pub const WIFI_ON: &'static str[src]

Deprecated

public static final WIFI_ON

pub const WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE: &'static str[src]

Deprecated

pub const WIFI_WATCHDOG_AP_COUNT: &'static str[src]

Deprecated

public static final WIFI_WATCHDOG_AP_COUNT

pub const WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS: &'static str[src]

Deprecated

pub const WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED: &'static str[src]

Deprecated

pub const WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS: &'static str[src]

Deprecated

pub const WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT: &'static str[src]

Deprecated

pub const WIFI_WATCHDOG_MAX_AP_CHECKS: &'static str[src]

Deprecated

public static final WIFI_WATCHDOG_MAX_AP_CHECKS

pub const WIFI_WATCHDOG_ON: &'static str[src]

Deprecated

public static final WIFI_WATCHDOG_ON

pub const WIFI_WATCHDOG_PING_COUNT: &'static str[src]

Deprecated

public static final WIFI_WATCHDOG_PING_COUNT

pub const WIFI_WATCHDOG_PING_DELAY_MS: &'static str[src]

Deprecated

public static final WIFI_WATCHDOG_PING_DELAY_MS

pub const WIFI_WATCHDOG_PING_TIMEOUT_MS: &'static str[src]

Deprecated

public static final WIFI_WATCHDOG_PING_TIMEOUT_MS

pub const WIFI_WATCHDOG_WATCH_LIST: &'static str[src]

Deprecated

public static final WIFI_WATCHDOG_WATCH_LIST

Methods from Deref<Target = Settings_NameValueTable>

pub const NAME: &'static str[src]

pub const VALUE: &'static str[src]

Trait Implementations

impl AsJValue for Settings_Secure

impl AsValidJObjectAndEnv for Settings_Secure

impl Deref for Settings_Secure

type Target = Settings_NameValueTable

The resulting type after dereferencing.

impl JniType for Settings_Secure

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.