[]Struct jni_android_sys::android::provider::Settings_System

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

public final class Settings.System

Required feature: "android-provider-Settings_System"

Methods

impl Settings_System

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

getConfiguration

Required features: "android-content-ContentResolver", "android-content-res-Configuration"

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

putConfiguration

Required features: "android-content-ContentResolver", "android-content-res-Configuration"

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

Deprecated

getShowGTalkServiceStatus

Required features: "android-content-ContentResolver"

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

Deprecated

setShowGTalkServiceStatus

Required features: "android-content-ContentResolver"

pub fn canWrite<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>
) -> Result<bool, Local<'env, Throwable>>
[src]

canWrite

Required features: "android-content-Context"

pub const ACCELEROMETER_ROTATION: &'static str[src]

public static final ACCELEROMETER_ROTATION

pub const ADB_ENABLED: &'static str[src]

Deprecated

public static final ADB_ENABLED

pub const AIRPLANE_MODE_ON: &'static str[src]

Deprecated

public static final AIRPLANE_MODE_ON

pub const AIRPLANE_MODE_RADIOS: &'static str[src]

Deprecated

public static final AIRPLANE_MODE_RADIOS

pub const ALARM_ALERT: &'static str[src]

public static final ALARM_ALERT

pub const ALWAYS_FINISH_ACTIVITIES: &'static str[src]

Deprecated

public static final ALWAYS_FINISH_ACTIVITIES

pub const ANDROID_ID: &'static str[src]

Deprecated

public static final ANDROID_ID

pub const ANIMATOR_DURATION_SCALE: &'static str[src]

Deprecated

public static final ANIMATOR_DURATION_SCALE

pub const AUTO_TIME: &'static str[src]

Deprecated

public static final AUTO_TIME

pub const AUTO_TIME_ZONE: &'static str[src]

Deprecated

public static final AUTO_TIME_ZONE

pub const BLUETOOTH_DISCOVERABILITY: &'static str[src]

public static final BLUETOOTH_DISCOVERABILITY

pub const BLUETOOTH_DISCOVERABILITY_TIMEOUT: &'static str[src]

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 DATE_FORMAT: &'static str[src]

public static final DATE_FORMAT

pub const DEBUG_APP: &'static str[src]

Deprecated

public static final DEBUG_APP

pub fn DEFAULT_ALARM_ALERT_URI<'env>(env: &'env Env) -> Option<Local<'env, Uri>>[src]

get public static final DEFAULT_ALARM_ALERT_URI

Required feature: "android-net-Uri"

pub fn DEFAULT_NOTIFICATION_URI<'env>(
    env: &'env Env
) -> Option<Local<'env, Uri>>
[src]

get public static final DEFAULT_NOTIFICATION_URI

Required feature: "android-net-Uri"

pub fn DEFAULT_RINGTONE_URI<'env>(env: &'env Env) -> Option<Local<'env, Uri>>[src]

get public static final DEFAULT_RINGTONE_URI

Required feature: "android-net-Uri"

pub const DEVICE_PROVISIONED: &'static str[src]

Deprecated

public static final DEVICE_PROVISIONED

pub const DIM_SCREEN: &'static str[src]

Deprecated

public static final DIM_SCREEN

pub const DTMF_TONE_TYPE_WHEN_DIALING: &'static str[src]

public static final DTMF_TONE_TYPE_WHEN_DIALING

pub const DTMF_TONE_WHEN_DIALING: &'static str[src]

public static final DTMF_TONE_WHEN_DIALING

pub const END_BUTTON_BEHAVIOR: &'static str[src]

public static final END_BUTTON_BEHAVIOR

pub const FONT_SCALE: &'static str[src]

public static final FONT_SCALE

pub const HAPTIC_FEEDBACK_ENABLED: &'static str[src]

public static final HAPTIC_FEEDBACK_ENABLED

pub const HTTP_PROXY: &'static str[src]

Deprecated

public static final HTTP_PROXY

pub const INSTALL_NON_MARKET_APPS: &'static str[src]

Deprecated

public static final INSTALL_NON_MARKET_APPS

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 MODE_RINGER: &'static str[src]

Deprecated

public static final MODE_RINGER

pub const MODE_RINGER_STREAMS_AFFECTED: &'static str[src]

public static final MODE_RINGER_STREAMS_AFFECTED

pub const MUTE_STREAMS_AFFECTED: &'static str[src]

public static final MUTE_STREAMS_AFFECTED

pub const NETWORK_PREFERENCE: &'static str[src]

Deprecated

public static final NETWORK_PREFERENCE

pub const NEXT_ALARM_FORMATTED: &'static str[src]

Deprecated

public static final NEXT_ALARM_FORMATTED

pub const NOTIFICATION_SOUND: &'static str[src]

public static final NOTIFICATION_SOUND

pub const PARENTAL_CONTROL_ENABLED: &'static str[src]

Deprecated

public static final PARENTAL_CONTROL_ENABLED

pub const PARENTAL_CONTROL_LAST_UPDATE: &'static str[src]

Deprecated

public static final PARENTAL_CONTROL_LAST_UPDATE

pub const PARENTAL_CONTROL_REDIRECT_URL: &'static str[src]

Deprecated

public static final PARENTAL_CONTROL_REDIRECT_URL

pub const RADIO_BLUETOOTH: &'static str[src]

Deprecated

public static final RADIO_BLUETOOTH

pub const RADIO_CELL: &'static str[src]

Deprecated

public static final RADIO_CELL

pub const RADIO_NFC: &'static str[src]

Deprecated

public static final RADIO_NFC

pub const RADIO_WIFI: &'static str[src]

Deprecated

public static final RADIO_WIFI

pub const RINGTONE: &'static str[src]

public static final RINGTONE

pub const SCREEN_BRIGHTNESS: &'static str[src]

public static final SCREEN_BRIGHTNESS

pub const SCREEN_BRIGHTNESS_MODE: &'static str[src]

public static final SCREEN_BRIGHTNESS_MODE

pub const SCREEN_BRIGHTNESS_MODE_AUTOMATIC: i32[src]

pub const SCREEN_BRIGHTNESS_MODE_MANUAL: i32[src]

public static final SCREEN_BRIGHTNESS_MODE_MANUAL

pub const SCREEN_OFF_TIMEOUT: &'static str[src]

public static final SCREEN_OFF_TIMEOUT

pub const SETTINGS_CLASSNAME: &'static str[src]

Deprecated

public static final SETTINGS_CLASSNAME

pub const SETUP_WIZARD_HAS_RUN: &'static str[src]

public static final SETUP_WIZARD_HAS_RUN

pub const SHOW_GTALK_SERVICE_STATUS: &'static str[src]

public static final SHOW_GTALK_SERVICE_STATUS

pub const SHOW_PROCESSES: &'static str[src]

Deprecated

public static final SHOW_PROCESSES

pub const SHOW_WEB_SUGGESTIONS: &'static str[src]

Deprecated

public static final SHOW_WEB_SUGGESTIONS

pub const SOUND_EFFECTS_ENABLED: &'static str[src]

public static final SOUND_EFFECTS_ENABLED

pub const STAY_ON_WHILE_PLUGGED_IN: &'static str[src]

Deprecated

public static final STAY_ON_WHILE_PLUGGED_IN

pub const TEXT_AUTO_CAPS: &'static str[src]

public static final TEXT_AUTO_CAPS

pub const TEXT_AUTO_PUNCTUATE: &'static str[src]

public static final TEXT_AUTO_PUNCTUATE

pub const TEXT_AUTO_REPLACE: &'static str[src]

public static final TEXT_AUTO_REPLACE

pub const TEXT_SHOW_PASSWORD: &'static str[src]

public static final TEXT_SHOW_PASSWORD

pub const TIME_12_24: &'static str[src]

public static final TIME_12_24

pub const TRANSITION_ANIMATION_SCALE: &'static str[src]

Deprecated

public static final TRANSITION_ANIMATION_SCALE

pub const USB_MASS_STORAGE_ENABLED: &'static str[src]

Deprecated

public static final USB_MASS_STORAGE_ENABLED

pub const USER_ROTATION: &'static str[src]

public static final USER_ROTATION

pub const USE_GOOGLE_MAIL: &'static str[src]

Deprecated

public static final USE_GOOGLE_MAIL

pub const VIBRATE_ON: &'static str[src]

public static final VIBRATE_ON

pub const VIBRATE_WHEN_RINGING: &'static str[src]

public static final VIBRATE_WHEN_RINGING

pub const WAIT_FOR_DEBUGGER: &'static str[src]

Deprecated

public static final WAIT_FOR_DEBUGGER

pub const WALLPAPER_ACTIVITY: &'static str[src]

Deprecated

public static final WALLPAPER_ACTIVITY

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_SLEEP_POLICY: &'static str[src]

Deprecated

public static final WIFI_SLEEP_POLICY

pub const WIFI_SLEEP_POLICY_DEFAULT: i32[src]

Deprecated

public static final WIFI_SLEEP_POLICY_DEFAULT

pub const WIFI_SLEEP_POLICY_NEVER: i32[src]

Deprecated

public static final WIFI_SLEEP_POLICY_NEVER

pub const WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED: i32[src]

Deprecated

pub const WIFI_STATIC_DNS1: &'static str[src]

Deprecated

public static final WIFI_STATIC_DNS1

pub const WIFI_STATIC_DNS2: &'static str[src]

Deprecated

public static final WIFI_STATIC_DNS2

pub const WIFI_STATIC_GATEWAY: &'static str[src]

Deprecated

public static final WIFI_STATIC_GATEWAY

pub const WIFI_STATIC_IP: &'static str[src]

Deprecated

public static final WIFI_STATIC_IP

pub const WIFI_STATIC_NETMASK: &'static str[src]

Deprecated

public static final WIFI_STATIC_NETMASK

pub const WIFI_USE_STATIC_IP: &'static str[src]

Deprecated

public static final WIFI_USE_STATIC_IP

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 WINDOW_ANIMATION_SCALE: &'static str[src]

Deprecated

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_System

impl AsValidJObjectAndEnv for Settings_System

impl Deref for Settings_System

type Target = Settings_NameValueTable

The resulting type after dereferencing.

impl JniType for Settings_System

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.