[]Struct jni_android_sys::android::provider::Settings

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

public final class Settings

Required feature: "android-provider-Settings"

Methods

impl Settings

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, Settings>, Local<'env, Throwable>>
[src]

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

canDrawOverlays

Required features: "android-content-Context"

pub const ACTION_ACCESSIBILITY_SETTINGS: &'static str[src]

public static final ACTION_ACCESSIBILITY_SETTINGS

pub const ACTION_ADD_ACCOUNT: &'static str[src]

public static final ACTION_ADD_ACCOUNT

pub const ACTION_AIRPLANE_MODE_SETTINGS: &'static str[src]

public static final ACTION_AIRPLANE_MODE_SETTINGS

pub const ACTION_APN_SETTINGS: &'static str[src]

public static final ACTION_APN_SETTINGS

pub const ACTION_APPLICATION_DETAILS_SETTINGS: &'static str[src]

pub const ACTION_APPLICATION_DEVELOPMENT_SETTINGS: &'static str[src]

pub const ACTION_APPLICATION_SETTINGS: &'static str[src]

public static final ACTION_APPLICATION_SETTINGS

pub const ACTION_APP_NOTIFICATION_SETTINGS: &'static str[src]

pub const ACTION_BATTERY_SAVER_SETTINGS: &'static str[src]

public static final ACTION_BATTERY_SAVER_SETTINGS

pub const ACTION_BLUETOOTH_SETTINGS: &'static str[src]

public static final ACTION_BLUETOOTH_SETTINGS

pub const ACTION_CAPTIONING_SETTINGS: &'static str[src]

public static final ACTION_CAPTIONING_SETTINGS

pub const ACTION_CAST_SETTINGS: &'static str[src]

public static final ACTION_CAST_SETTINGS

pub const ACTION_CHANNEL_NOTIFICATION_SETTINGS: &'static str[src]

pub const ACTION_DATA_ROAMING_SETTINGS: &'static str[src]

public static final ACTION_DATA_ROAMING_SETTINGS

pub const ACTION_DATA_USAGE_SETTINGS: &'static str[src]

public static final ACTION_DATA_USAGE_SETTINGS

pub const ACTION_DATE_SETTINGS: &'static str[src]

public static final ACTION_DATE_SETTINGS

pub const ACTION_DEVICE_INFO_SETTINGS: &'static str[src]

public static final ACTION_DEVICE_INFO_SETTINGS

pub const ACTION_DISPLAY_SETTINGS: &'static str[src]

public static final ACTION_DISPLAY_SETTINGS

pub const ACTION_DREAM_SETTINGS: &'static str[src]

public static final ACTION_DREAM_SETTINGS

pub const ACTION_FINGERPRINT_ENROLL: &'static str[src]

public static final ACTION_FINGERPRINT_ENROLL

pub const ACTION_HARD_KEYBOARD_SETTINGS: &'static str[src]

public static final ACTION_HARD_KEYBOARD_SETTINGS

pub const ACTION_HOME_SETTINGS: &'static str[src]

public static final ACTION_HOME_SETTINGS

pub const ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS: &'static str[src]

pub const ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS: &'static str[src]

pub const ACTION_INPUT_METHOD_SETTINGS: &'static str[src]

public static final ACTION_INPUT_METHOD_SETTINGS

pub const ACTION_INPUT_METHOD_SUBTYPE_SETTINGS: &'static str[src]

pub const ACTION_INTERNAL_STORAGE_SETTINGS: &'static str[src]

pub const ACTION_LOCALE_SETTINGS: &'static str[src]

public static final ACTION_LOCALE_SETTINGS

pub const ACTION_LOCATION_SOURCE_SETTINGS: &'static str[src]

public static final ACTION_LOCATION_SOURCE_SETTINGS

pub const ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS: &'static str[src]

pub const ACTION_MANAGE_APPLICATIONS_SETTINGS: &'static str[src]

pub const ACTION_MANAGE_DEFAULT_APPS_SETTINGS: &'static str[src]

pub const ACTION_MANAGE_OVERLAY_PERMISSION: &'static str[src]

pub const ACTION_MANAGE_UNKNOWN_APP_SOURCES: &'static str[src]

pub const ACTION_MANAGE_WRITE_SETTINGS: &'static str[src]

public static final ACTION_MANAGE_WRITE_SETTINGS

pub const ACTION_MEMORY_CARD_SETTINGS: &'static str[src]

public static final ACTION_MEMORY_CARD_SETTINGS

pub const ACTION_NETWORK_OPERATOR_SETTINGS: &'static str[src]

pub const ACTION_NFCSHARING_SETTINGS: &'static str[src]

public static final ACTION_NFCSHARING_SETTINGS

pub const ACTION_NFC_PAYMENT_SETTINGS: &'static str[src]

public static final ACTION_NFC_PAYMENT_SETTINGS

pub const ACTION_NFC_SETTINGS: &'static str[src]

public static final ACTION_NFC_SETTINGS

pub const ACTION_NIGHT_DISPLAY_SETTINGS: &'static str[src]

public static final ACTION_NIGHT_DISPLAY_SETTINGS

pub const ACTION_NOTIFICATION_LISTENER_SETTINGS: &'static str[src]

pub const ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS: &'static str[src]

pub const ACTION_PRINT_SETTINGS: &'static str[src]

public static final ACTION_PRINT_SETTINGS

pub const ACTION_PRIVACY_SETTINGS: &'static str[src]

public static final ACTION_PRIVACY_SETTINGS

pub const ACTION_QUICK_LAUNCH_SETTINGS: &'static str[src]

public static final ACTION_QUICK_LAUNCH_SETTINGS

pub const ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS: &'static str[src]

pub const ACTION_REQUEST_SET_AUTOFILL_SERVICE: &'static str[src]

pub const ACTION_SEARCH_SETTINGS: &'static str[src]

public static final ACTION_SEARCH_SETTINGS

pub const ACTION_SECURITY_SETTINGS: &'static str[src]

public static final ACTION_SECURITY_SETTINGS

pub const ACTION_SETTINGS: &'static str[src]

public static final ACTION_SETTINGS

pub const ACTION_SHOW_REGULATORY_INFO: &'static str[src]

public static final ACTION_SHOW_REGULATORY_INFO

pub const ACTION_SOUND_SETTINGS: &'static str[src]

public static final ACTION_SOUND_SETTINGS

pub const ACTION_STORAGE_VOLUME_ACCESS_SETTINGS: &'static str[src]

pub const ACTION_SYNC_SETTINGS: &'static str[src]

public static final ACTION_SYNC_SETTINGS

pub const ACTION_USAGE_ACCESS_SETTINGS: &'static str[src]

public static final ACTION_USAGE_ACCESS_SETTINGS

pub const ACTION_USER_DICTIONARY_SETTINGS: &'static str[src]

public static final ACTION_USER_DICTIONARY_SETTINGS

pub const ACTION_VOICE_CONTROL_AIRPLANE_MODE: &'static str[src]

pub const ACTION_VOICE_CONTROL_BATTERY_SAVER_MODE: &'static str[src]

pub const ACTION_VOICE_CONTROL_DO_NOT_DISTURB_MODE: &'static str[src]

pub const ACTION_VOICE_INPUT_SETTINGS: &'static str[src]

public static final ACTION_VOICE_INPUT_SETTINGS

pub const ACTION_VPN_SETTINGS: &'static str[src]

public static final ACTION_VPN_SETTINGS

pub const ACTION_VR_LISTENER_SETTINGS: &'static str[src]

public static final ACTION_VR_LISTENER_SETTINGS

pub const ACTION_WEBVIEW_SETTINGS: &'static str[src]

public static final ACTION_WEBVIEW_SETTINGS

pub const ACTION_WIFI_IP_SETTINGS: &'static str[src]

public static final ACTION_WIFI_IP_SETTINGS

pub const ACTION_WIFI_SETTINGS: &'static str[src]

public static final ACTION_WIFI_SETTINGS

pub const ACTION_WIRELESS_SETTINGS: &'static str[src]

public static final ACTION_WIRELESS_SETTINGS

pub const ACTION_ZEN_MODE_PRIORITY_SETTINGS: &'static str[src]

pub const AUTHORITY: &'static str[src]

public static final AUTHORITY

pub const EXTRA_ACCOUNT_TYPES: &'static str[src]

public static final EXTRA_ACCOUNT_TYPES

pub const EXTRA_AIRPLANE_MODE_ENABLED: &'static str[src]

public static final EXTRA_AIRPLANE_MODE_ENABLED

pub const EXTRA_APP_PACKAGE: &'static str[src]

public static final EXTRA_APP_PACKAGE

pub const EXTRA_AUTHORITIES: &'static str[src]

public static final EXTRA_AUTHORITIES

pub const EXTRA_BATTERY_SAVER_MODE_ENABLED: &'static str[src]

pub const EXTRA_CHANNEL_ID: &'static str[src]

public static final EXTRA_CHANNEL_ID

pub const EXTRA_DO_NOT_DISTURB_MODE_ENABLED: &'static str[src]

pub const EXTRA_DO_NOT_DISTURB_MODE_MINUTES: &'static str[src]

pub const EXTRA_INPUT_METHOD_ID: &'static str[src]

public static final EXTRA_INPUT_METHOD_ID

pub const EXTRA_SUB_ID: &'static str[src]

public static final EXTRA_SUB_ID

pub const INTENT_CATEGORY_USAGE_ACCESS_CONFIG: &'static str[src]

pub const METADATA_USAGE_ACCESS_REASON: &'static str[src]

public static final METADATA_USAGE_ACCESS_REASON

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for Settings

impl AsValidJObjectAndEnv for Settings

impl Deref for Settings

type Target = Object

The resulting type after dereferencing.

impl JniType for Settings

Auto Trait Implementations

impl RefUnwindSafe for Settings

impl !Send for Settings

impl !Sync for Settings

impl Unpin for Settings

impl UnwindSafe for Settings

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.