jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-provider-Settings"))]
__jni_bindgen! {
    /// public final class [Settings](https://developer.android.com/reference/android/provider/Settings.html)
    ///
    /// Required feature: "android-provider-Settings"
    public final class Settings ("android/provider/Settings") extends crate::java::lang::Object {

        /// [Settings](https://developer.android.com/reference/android/provider/Settings.html#Settings())
        pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::provider::Settings>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/provider/Settings", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/provider/Settings\0", "<init>\0", "()V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [canDrawOverlays](https://developer.android.com/reference/android/provider/Settings.html#canDrawOverlays(android.content.Context))
        ///
        /// Required features: "android-content-Context"
        #[cfg(any(feature = "all", all(feature = "android-content-Context")))]
        pub fn canDrawOverlays<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/provider/Settings", java.flags == PUBLIC | STATIC, .name == "canDrawOverlays", .descriptor == "(Landroid/content/Context;)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/Settings\0", "canDrawOverlays\0", "(Landroid/content/Context;)Z\0");
                __jni_env.call_static_boolean_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [ACTION_ACCESSIBILITY_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_ACCESSIBILITY_SETTINGS)
        pub const ACTION_ACCESSIBILITY_SETTINGS : &'static str = "android.settings.ACCESSIBILITY_SETTINGS";

        /// public static final [ACTION_ADD_ACCOUNT](https://developer.android.com/reference/android/provider/Settings.html#ACTION_ADD_ACCOUNT)
        pub const ACTION_ADD_ACCOUNT : &'static str = "android.settings.ADD_ACCOUNT_SETTINGS";

        /// public static final [ACTION_AIRPLANE_MODE_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_AIRPLANE_MODE_SETTINGS)
        pub const ACTION_AIRPLANE_MODE_SETTINGS : &'static str = "android.settings.AIRPLANE_MODE_SETTINGS";

        /// public static final [ACTION_APN_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_APN_SETTINGS)
        pub const ACTION_APN_SETTINGS : &'static str = "android.settings.APN_SETTINGS";

        /// public static final [ACTION_APPLICATION_DETAILS_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_APPLICATION_DETAILS_SETTINGS)
        pub const ACTION_APPLICATION_DETAILS_SETTINGS : &'static str = "android.settings.APPLICATION_DETAILS_SETTINGS";

        /// public static final [ACTION_APPLICATION_DEVELOPMENT_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_APPLICATION_DEVELOPMENT_SETTINGS)
        pub const ACTION_APPLICATION_DEVELOPMENT_SETTINGS : &'static str = "android.settings.APPLICATION_DEVELOPMENT_SETTINGS";

        /// public static final [ACTION_APPLICATION_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_APPLICATION_SETTINGS)
        pub const ACTION_APPLICATION_SETTINGS : &'static str = "android.settings.APPLICATION_SETTINGS";

        /// public static final [ACTION_BATTERY_SAVER_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_BATTERY_SAVER_SETTINGS)
        pub const ACTION_BATTERY_SAVER_SETTINGS : &'static str = "android.settings.BATTERY_SAVER_SETTINGS";

        /// public static final [ACTION_BLUETOOTH_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_BLUETOOTH_SETTINGS)
        pub const ACTION_BLUETOOTH_SETTINGS : &'static str = "android.settings.BLUETOOTH_SETTINGS";

        /// public static final [ACTION_CAPTIONING_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_CAPTIONING_SETTINGS)
        pub const ACTION_CAPTIONING_SETTINGS : &'static str = "android.settings.CAPTIONING_SETTINGS";

        /// public static final [ACTION_CAST_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_CAST_SETTINGS)
        pub const ACTION_CAST_SETTINGS : &'static str = "android.settings.CAST_SETTINGS";

        /// public static final [ACTION_DATA_ROAMING_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_DATA_ROAMING_SETTINGS)
        pub const ACTION_DATA_ROAMING_SETTINGS : &'static str = "android.settings.DATA_ROAMING_SETTINGS";

        /// public static final [ACTION_DATE_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_DATE_SETTINGS)
        pub const ACTION_DATE_SETTINGS : &'static str = "android.settings.DATE_SETTINGS";

        /// public static final [ACTION_DEVICE_INFO_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_DEVICE_INFO_SETTINGS)
        pub const ACTION_DEVICE_INFO_SETTINGS : &'static str = "android.settings.DEVICE_INFO_SETTINGS";

        /// public static final [ACTION_DISPLAY_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_DISPLAY_SETTINGS)
        pub const ACTION_DISPLAY_SETTINGS : &'static str = "android.settings.DISPLAY_SETTINGS";

        /// public static final [ACTION_DREAM_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_DREAM_SETTINGS)
        pub const ACTION_DREAM_SETTINGS : &'static str = "android.settings.DREAM_SETTINGS";

        /// public static final [ACTION_HARD_KEYBOARD_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_HARD_KEYBOARD_SETTINGS)
        pub const ACTION_HARD_KEYBOARD_SETTINGS : &'static str = "android.settings.HARD_KEYBOARD_SETTINGS";

        /// public static final [ACTION_HOME_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_HOME_SETTINGS)
        pub const ACTION_HOME_SETTINGS : &'static str = "android.settings.HOME_SETTINGS";

        /// public static final [ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS)
        pub const ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS : &'static str = "android.settings.IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS";

        /// public static final [ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS)
        pub const ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS : &'static str = "android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTINGS";

        /// public static final [ACTION_INPUT_METHOD_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_INPUT_METHOD_SETTINGS)
        pub const ACTION_INPUT_METHOD_SETTINGS : &'static str = "android.settings.INPUT_METHOD_SETTINGS";

        /// public static final [ACTION_INPUT_METHOD_SUBTYPE_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_INPUT_METHOD_SUBTYPE_SETTINGS)
        pub const ACTION_INPUT_METHOD_SUBTYPE_SETTINGS : &'static str = "android.settings.INPUT_METHOD_SUBTYPE_SETTINGS";

        /// public static final [ACTION_INTERNAL_STORAGE_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_INTERNAL_STORAGE_SETTINGS)
        pub const ACTION_INTERNAL_STORAGE_SETTINGS : &'static str = "android.settings.INTERNAL_STORAGE_SETTINGS";

        /// public static final [ACTION_LOCALE_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_LOCALE_SETTINGS)
        pub const ACTION_LOCALE_SETTINGS : &'static str = "android.settings.LOCALE_SETTINGS";

        /// public static final [ACTION_LOCATION_SOURCE_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_LOCATION_SOURCE_SETTINGS)
        pub const ACTION_LOCATION_SOURCE_SETTINGS : &'static str = "android.settings.LOCATION_SOURCE_SETTINGS";

        /// public static final [ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS)
        pub const ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS : &'static str = "android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS";

        /// public static final [ACTION_MANAGE_APPLICATIONS_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_MANAGE_APPLICATIONS_SETTINGS)
        pub const ACTION_MANAGE_APPLICATIONS_SETTINGS : &'static str = "android.settings.MANAGE_APPLICATIONS_SETTINGS";

        /// public static final [ACTION_MANAGE_DEFAULT_APPS_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_MANAGE_DEFAULT_APPS_SETTINGS)
        pub const ACTION_MANAGE_DEFAULT_APPS_SETTINGS : &'static str = "android.settings.MANAGE_DEFAULT_APPS_SETTINGS";

        /// public static final [ACTION_MANAGE_OVERLAY_PERMISSION](https://developer.android.com/reference/android/provider/Settings.html#ACTION_MANAGE_OVERLAY_PERMISSION)
        pub const ACTION_MANAGE_OVERLAY_PERMISSION : &'static str = "android.settings.action.MANAGE_OVERLAY_PERMISSION";

        /// public static final [ACTION_MANAGE_WRITE_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_MANAGE_WRITE_SETTINGS)
        pub const ACTION_MANAGE_WRITE_SETTINGS : &'static str = "android.settings.action.MANAGE_WRITE_SETTINGS";

        /// public static final [ACTION_MEMORY_CARD_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_MEMORY_CARD_SETTINGS)
        pub const ACTION_MEMORY_CARD_SETTINGS : &'static str = "android.settings.MEMORY_CARD_SETTINGS";

        /// public static final [ACTION_NETWORK_OPERATOR_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_NETWORK_OPERATOR_SETTINGS)
        pub const ACTION_NETWORK_OPERATOR_SETTINGS : &'static str = "android.settings.NETWORK_OPERATOR_SETTINGS";

        /// public static final [ACTION_NFCSHARING_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_NFCSHARING_SETTINGS)
        pub const ACTION_NFCSHARING_SETTINGS : &'static str = "android.settings.NFCSHARING_SETTINGS";

        /// public static final [ACTION_NFC_PAYMENT_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_NFC_PAYMENT_SETTINGS)
        pub const ACTION_NFC_PAYMENT_SETTINGS : &'static str = "android.settings.NFC_PAYMENT_SETTINGS";

        /// public static final [ACTION_NFC_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_NFC_SETTINGS)
        pub const ACTION_NFC_SETTINGS : &'static str = "android.settings.NFC_SETTINGS";

        /// public static final [ACTION_NOTIFICATION_LISTENER_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_NOTIFICATION_LISTENER_SETTINGS)
        pub const ACTION_NOTIFICATION_LISTENER_SETTINGS : &'static str = "android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS";

        /// public static final [ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS)
        pub const ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS : &'static str = "android.settings.NOTIFICATION_POLICY_ACCESS_SETTINGS";

        /// public static final [ACTION_PRINT_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_PRINT_SETTINGS)
        pub const ACTION_PRINT_SETTINGS : &'static str = "android.settings.ACTION_PRINT_SETTINGS";

        /// public static final [ACTION_PRIVACY_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_PRIVACY_SETTINGS)
        pub const ACTION_PRIVACY_SETTINGS : &'static str = "android.settings.PRIVACY_SETTINGS";

        /// public static final [ACTION_QUICK_LAUNCH_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_QUICK_LAUNCH_SETTINGS)
        pub const ACTION_QUICK_LAUNCH_SETTINGS : &'static str = "android.settings.QUICK_LAUNCH_SETTINGS";

        /// public static final [ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS)
        pub const ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS : &'static str = "android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS";

        /// public static final [ACTION_SEARCH_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_SEARCH_SETTINGS)
        pub const ACTION_SEARCH_SETTINGS : &'static str = "android.search.action.SEARCH_SETTINGS";

        /// public static final [ACTION_SECURITY_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_SECURITY_SETTINGS)
        pub const ACTION_SECURITY_SETTINGS : &'static str = "android.settings.SECURITY_SETTINGS";

        /// public static final [ACTION_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_SETTINGS)
        pub const ACTION_SETTINGS : &'static str = "android.settings.SETTINGS";

        /// public static final [ACTION_SHOW_REGULATORY_INFO](https://developer.android.com/reference/android/provider/Settings.html#ACTION_SHOW_REGULATORY_INFO)
        pub const ACTION_SHOW_REGULATORY_INFO : &'static str = "android.settings.SHOW_REGULATORY_INFO";

        /// public static final [ACTION_SOUND_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_SOUND_SETTINGS)
        pub const ACTION_SOUND_SETTINGS : &'static str = "android.settings.SOUND_SETTINGS";

        /// public static final [ACTION_SYNC_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_SYNC_SETTINGS)
        pub const ACTION_SYNC_SETTINGS : &'static str = "android.settings.SYNC_SETTINGS";

        /// public static final [ACTION_USAGE_ACCESS_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_USAGE_ACCESS_SETTINGS)
        pub const ACTION_USAGE_ACCESS_SETTINGS : &'static str = "android.settings.USAGE_ACCESS_SETTINGS";

        /// public static final [ACTION_USER_DICTIONARY_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_USER_DICTIONARY_SETTINGS)
        pub const ACTION_USER_DICTIONARY_SETTINGS : &'static str = "android.settings.USER_DICTIONARY_SETTINGS";

        /// public static final [ACTION_VOICE_CONTROL_AIRPLANE_MODE](https://developer.android.com/reference/android/provider/Settings.html#ACTION_VOICE_CONTROL_AIRPLANE_MODE)
        pub const ACTION_VOICE_CONTROL_AIRPLANE_MODE : &'static str = "android.settings.VOICE_CONTROL_AIRPLANE_MODE";

        /// public static final [ACTION_VOICE_CONTROL_BATTERY_SAVER_MODE](https://developer.android.com/reference/android/provider/Settings.html#ACTION_VOICE_CONTROL_BATTERY_SAVER_MODE)
        pub const ACTION_VOICE_CONTROL_BATTERY_SAVER_MODE : &'static str = "android.settings.VOICE_CONTROL_BATTERY_SAVER_MODE";

        /// public static final [ACTION_VOICE_CONTROL_DO_NOT_DISTURB_MODE](https://developer.android.com/reference/android/provider/Settings.html#ACTION_VOICE_CONTROL_DO_NOT_DISTURB_MODE)
        pub const ACTION_VOICE_CONTROL_DO_NOT_DISTURB_MODE : &'static str = "android.settings.VOICE_CONTROL_DO_NOT_DISTURB_MODE";

        /// public static final [ACTION_VOICE_INPUT_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_VOICE_INPUT_SETTINGS)
        pub const ACTION_VOICE_INPUT_SETTINGS : &'static str = "android.settings.VOICE_INPUT_SETTINGS";

        /// public static final [ACTION_VPN_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_VPN_SETTINGS)
        pub const ACTION_VPN_SETTINGS : &'static str = "android.settings.VPN_SETTINGS";

        /// public static final [ACTION_VR_LISTENER_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_VR_LISTENER_SETTINGS)
        pub const ACTION_VR_LISTENER_SETTINGS : &'static str = "android.settings.VR_LISTENER_SETTINGS";

        /// public static final [ACTION_WEBVIEW_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_WEBVIEW_SETTINGS)
        pub const ACTION_WEBVIEW_SETTINGS : &'static str = "android.settings.WEBVIEW_SETTINGS";

        /// public static final [ACTION_WIFI_IP_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_WIFI_IP_SETTINGS)
        pub const ACTION_WIFI_IP_SETTINGS : &'static str = "android.settings.WIFI_IP_SETTINGS";

        /// public static final [ACTION_WIFI_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_WIFI_SETTINGS)
        pub const ACTION_WIFI_SETTINGS : &'static str = "android.settings.WIFI_SETTINGS";

        /// public static final [ACTION_WIRELESS_SETTINGS](https://developer.android.com/reference/android/provider/Settings.html#ACTION_WIRELESS_SETTINGS)
        pub const ACTION_WIRELESS_SETTINGS : &'static str = "android.settings.WIRELESS_SETTINGS";

        /// public static final [AUTHORITY](https://developer.android.com/reference/android/provider/Settings.html#AUTHORITY)
        pub const AUTHORITY : &'static str = "settings";

        /// public static final [EXTRA_ACCOUNT_TYPES](https://developer.android.com/reference/android/provider/Settings.html#EXTRA_ACCOUNT_TYPES)
        pub const EXTRA_ACCOUNT_TYPES : &'static str = "account_types";

        /// public static final [EXTRA_AIRPLANE_MODE_ENABLED](https://developer.android.com/reference/android/provider/Settings.html#EXTRA_AIRPLANE_MODE_ENABLED)
        pub const EXTRA_AIRPLANE_MODE_ENABLED : &'static str = "airplane_mode_enabled";

        /// public static final [EXTRA_AUTHORITIES](https://developer.android.com/reference/android/provider/Settings.html#EXTRA_AUTHORITIES)
        pub const EXTRA_AUTHORITIES : &'static str = "authorities";

        /// public static final [EXTRA_BATTERY_SAVER_MODE_ENABLED](https://developer.android.com/reference/android/provider/Settings.html#EXTRA_BATTERY_SAVER_MODE_ENABLED)
        pub const EXTRA_BATTERY_SAVER_MODE_ENABLED : &'static str = "android.settings.extra.battery_saver_mode_enabled";

        /// public static final [EXTRA_DO_NOT_DISTURB_MODE_ENABLED](https://developer.android.com/reference/android/provider/Settings.html#EXTRA_DO_NOT_DISTURB_MODE_ENABLED)
        pub const EXTRA_DO_NOT_DISTURB_MODE_ENABLED : &'static str = "android.settings.extra.do_not_disturb_mode_enabled";

        /// public static final [EXTRA_DO_NOT_DISTURB_MODE_MINUTES](https://developer.android.com/reference/android/provider/Settings.html#EXTRA_DO_NOT_DISTURB_MODE_MINUTES)
        pub const EXTRA_DO_NOT_DISTURB_MODE_MINUTES : &'static str = "android.settings.extra.do_not_disturb_mode_minutes";

        /// public static final [EXTRA_INPUT_METHOD_ID](https://developer.android.com/reference/android/provider/Settings.html#EXTRA_INPUT_METHOD_ID)
        pub const EXTRA_INPUT_METHOD_ID : &'static str = "input_method_id";

        /// public static final [INTENT_CATEGORY_USAGE_ACCESS_CONFIG](https://developer.android.com/reference/android/provider/Settings.html#INTENT_CATEGORY_USAGE_ACCESS_CONFIG)
        pub const INTENT_CATEGORY_USAGE_ACCESS_CONFIG : &'static str = "android.intent.category.USAGE_ACCESS_CONFIG";

        /// public static final [METADATA_USAGE_ACCESS_REASON](https://developer.android.com/reference/android/provider/Settings.html#METADATA_USAGE_ACCESS_REASON)
        pub const METADATA_USAGE_ACCESS_REASON : &'static str = "android.settings.metadata.USAGE_ACCESS_REASON";
    }
}