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-net-wifi-WifiManager"))]
__jni_bindgen! {
    /// public class [WifiManager](https://developer.android.com/reference/android/net/wifi/WifiManager.html)
    ///
    /// Required feature: "android-net-wifi-WifiManager"
    public class WifiManager ("android/net/wifi/WifiManager") extends crate::java::lang::Object {

        /// [getConfiguredNetworks](https://developer.android.com/reference/android/net/wifi/WifiManager.html#getConfiguredNetworks())
        ///
        /// Required features: "java-util-List"
        #[cfg(any(feature = "all", all(feature = "java-util-List")))]
        pub fn getConfiguredNetworks<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::List>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "getConfiguredNetworks", .descriptor == "()Ljava/util/List;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "getConfiguredNetworks\0", "()Ljava/util/List;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [addNetwork](https://developer.android.com/reference/android/net/wifi/WifiManager.html#addNetwork(android.net.wifi.WifiConfiguration))
        ///
        /// Required features: "android-net-wifi-WifiConfiguration"
        #[cfg(any(feature = "all", all(feature = "android-net-wifi-WifiConfiguration")))]
        pub fn addNetwork<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::wifi::WifiConfiguration>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "addNetwork", .descriptor == "(Landroid/net/wifi/WifiConfiguration;)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "addNetwork\0", "(Landroid/net/wifi/WifiConfiguration;)I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [updateNetwork](https://developer.android.com/reference/android/net/wifi/WifiManager.html#updateNetwork(android.net.wifi.WifiConfiguration))
        ///
        /// Required features: "android-net-wifi-WifiConfiguration"
        #[cfg(any(feature = "all", all(feature = "android-net-wifi-WifiConfiguration")))]
        pub fn updateNetwork<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::wifi::WifiConfiguration>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "updateNetwork", .descriptor == "(Landroid/net/wifi/WifiConfiguration;)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "updateNetwork\0", "(Landroid/net/wifi/WifiConfiguration;)I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [removeNetwork](https://developer.android.com/reference/android/net/wifi/WifiManager.html#removeNetwork(int))
        pub fn removeNetwork<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "removeNetwork", .descriptor == "(I)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "removeNetwork\0", "(I)Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [enableNetwork](https://developer.android.com/reference/android/net/wifi/WifiManager.html#enableNetwork(int,%20boolean))
        pub fn enableNetwork<'env>(&'env self, arg0: i32, arg1: bool) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "enableNetwork", .descriptor == "(IZ)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "enableNetwork\0", "(IZ)Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [disableNetwork](https://developer.android.com/reference/android/net/wifi/WifiManager.html#disableNetwork(int))
        pub fn disableNetwork<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "disableNetwork", .descriptor == "(I)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "disableNetwork\0", "(I)Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [disconnect](https://developer.android.com/reference/android/net/wifi/WifiManager.html#disconnect())
        pub fn disconnect<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "disconnect", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "disconnect\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [reconnect](https://developer.android.com/reference/android/net/wifi/WifiManager.html#reconnect())
        pub fn reconnect<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "reconnect", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "reconnect\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [reassociate](https://developer.android.com/reference/android/net/wifi/WifiManager.html#reassociate())
        pub fn reassociate<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "reassociate", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "reassociate\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [pingSupplicant](https://developer.android.com/reference/android/net/wifi/WifiManager.html#pingSupplicant())
        pub fn pingSupplicant<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "pingSupplicant", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "pingSupplicant\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [startScan](https://developer.android.com/reference/android/net/wifi/WifiManager.html#startScan())
        pub fn startScan<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "startScan", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "startScan\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getConnectionInfo](https://developer.android.com/reference/android/net/wifi/WifiManager.html#getConnectionInfo())
        ///
        /// Required features: "android-net-wifi-WifiInfo"
        #[cfg(any(feature = "all", all(feature = "android-net-wifi-WifiInfo")))]
        pub fn getConnectionInfo<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::wifi::WifiInfo>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "getConnectionInfo", .descriptor == "()Landroid/net/wifi/WifiInfo;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "getConnectionInfo\0", "()Landroid/net/wifi/WifiInfo;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getScanResults](https://developer.android.com/reference/android/net/wifi/WifiManager.html#getScanResults())
        ///
        /// Required features: "java-util-List"
        #[cfg(any(feature = "all", all(feature = "java-util-List")))]
        pub fn getScanResults<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::List>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "getScanResults", .descriptor == "()Ljava/util/List;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "getScanResults\0", "()Ljava/util/List;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [saveConfiguration](https://developer.android.com/reference/android/net/wifi/WifiManager.html#saveConfiguration())
        pub fn saveConfiguration<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "saveConfiguration", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "saveConfiguration\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getDhcpInfo](https://developer.android.com/reference/android/net/wifi/WifiManager.html#getDhcpInfo())
        ///
        /// Required features: "android-net-DhcpInfo"
        #[cfg(any(feature = "all", all(feature = "android-net-DhcpInfo")))]
        pub fn getDhcpInfo<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::DhcpInfo>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "getDhcpInfo", .descriptor == "()Landroid/net/DhcpInfo;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "getDhcpInfo\0", "()Landroid/net/DhcpInfo;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setWifiEnabled](https://developer.android.com/reference/android/net/wifi/WifiManager.html#setWifiEnabled(boolean))
        pub fn setWifiEnabled<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "setWifiEnabled", .descriptor == "(Z)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "setWifiEnabled\0", "(Z)Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getWifiState](https://developer.android.com/reference/android/net/wifi/WifiManager.html#getWifiState())
        pub fn getWifiState<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "getWifiState", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "getWifiState\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [isWifiEnabled](https://developer.android.com/reference/android/net/wifi/WifiManager.html#isWifiEnabled())
        pub fn isWifiEnabled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "isWifiEnabled", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "isWifiEnabled\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [calculateSignalLevel](https://developer.android.com/reference/android/net/wifi/WifiManager.html#calculateSignalLevel(int,%20int))
        pub fn calculateSignalLevel<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC | STATIC, .name == "calculateSignalLevel", .descriptor == "(II)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/net/wifi/WifiManager\0", "calculateSignalLevel\0", "(II)I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [compareSignalLevel](https://developer.android.com/reference/android/net/wifi/WifiManager.html#compareSignalLevel(int,%20int))
        pub fn compareSignalLevel<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC | STATIC, .name == "compareSignalLevel", .descriptor == "(II)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/net/wifi/WifiManager\0", "compareSignalLevel\0", "(II)I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createWifiLock](https://developer.android.com/reference/android/net/wifi/WifiManager.html#createWifiLock(int,%20java.lang.String))
        ///
        /// Required features: "android-net-wifi-WifiManager_WifiLock", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-net-wifi-WifiManager_WifiLock", feature = "java-lang-String")))]
        pub fn createWifiLock_int_String<'env>(&'env self, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::wifi::WifiManager_WifiLock>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "createWifiLock", .descriptor == "(ILjava/lang/String;)Landroid/net/wifi/WifiManager$WifiLock;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "createWifiLock\0", "(ILjava/lang/String;)Landroid/net/wifi/WifiManager$WifiLock;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createWifiLock](https://developer.android.com/reference/android/net/wifi/WifiManager.html#createWifiLock(java.lang.String))
        ///
        /// Required features: "android-net-wifi-WifiManager_WifiLock", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-net-wifi-WifiManager_WifiLock", feature = "java-lang-String")))]
        pub fn createWifiLock_String<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::wifi::WifiManager_WifiLock>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "createWifiLock", .descriptor == "(Ljava/lang/String;)Landroid/net/wifi/WifiManager$WifiLock;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "createWifiLock\0", "(Ljava/lang/String;)Landroid/net/wifi/WifiManager$WifiLock;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [createMulticastLock](https://developer.android.com/reference/android/net/wifi/WifiManager.html#createMulticastLock(java.lang.String))
        ///
        /// Required features: "android-net-wifi-WifiManager_MulticastLock", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-net-wifi-WifiManager_MulticastLock", feature = "java-lang-String")))]
        pub fn createMulticastLock<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::wifi::WifiManager_MulticastLock>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/wifi/WifiManager", java.flags == PUBLIC, .name == "createMulticastLock", .descriptor == "(Ljava/lang/String;)Landroid/net/wifi/WifiManager$MulticastLock;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/wifi/WifiManager\0", "createMulticastLock\0", "(Ljava/lang/String;)Landroid/net/wifi/WifiManager$MulticastLock;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [ERROR_AUTHENTICATING](https://developer.android.com/reference/android/net/wifi/WifiManager.html#ERROR_AUTHENTICATING)
        pub const ERROR_AUTHENTICATING : i32 = 1;

        /// public static final [WIFI_STATE_CHANGED_ACTION](https://developer.android.com/reference/android/net/wifi/WifiManager.html#WIFI_STATE_CHANGED_ACTION)
        pub const WIFI_STATE_CHANGED_ACTION : &'static str = "android.net.wifi.WIFI_STATE_CHANGED";

        /// public static final [EXTRA_WIFI_STATE](https://developer.android.com/reference/android/net/wifi/WifiManager.html#EXTRA_WIFI_STATE)
        pub const EXTRA_WIFI_STATE : &'static str = "wifi_state";

        /// public static final [EXTRA_PREVIOUS_WIFI_STATE](https://developer.android.com/reference/android/net/wifi/WifiManager.html#EXTRA_PREVIOUS_WIFI_STATE)
        pub const EXTRA_PREVIOUS_WIFI_STATE : &'static str = "previous_wifi_state";

        /// public static final [WIFI_STATE_DISABLING](https://developer.android.com/reference/android/net/wifi/WifiManager.html#WIFI_STATE_DISABLING)
        pub const WIFI_STATE_DISABLING : i32 = 0;

        /// public static final [WIFI_STATE_DISABLED](https://developer.android.com/reference/android/net/wifi/WifiManager.html#WIFI_STATE_DISABLED)
        pub const WIFI_STATE_DISABLED : i32 = 1;

        /// public static final [WIFI_STATE_ENABLING](https://developer.android.com/reference/android/net/wifi/WifiManager.html#WIFI_STATE_ENABLING)
        pub const WIFI_STATE_ENABLING : i32 = 2;

        /// public static final [WIFI_STATE_ENABLED](https://developer.android.com/reference/android/net/wifi/WifiManager.html#WIFI_STATE_ENABLED)
        pub const WIFI_STATE_ENABLED : i32 = 3;

        /// public static final [WIFI_STATE_UNKNOWN](https://developer.android.com/reference/android/net/wifi/WifiManager.html#WIFI_STATE_UNKNOWN)
        pub const WIFI_STATE_UNKNOWN : i32 = 4;

        /// public static final [SUPPLICANT_CONNECTION_CHANGE_ACTION](https://developer.android.com/reference/android/net/wifi/WifiManager.html#SUPPLICANT_CONNECTION_CHANGE_ACTION)
        pub const SUPPLICANT_CONNECTION_CHANGE_ACTION : &'static str = "android.net.wifi.supplicant.CONNECTION_CHANGE";

        /// public static final [EXTRA_SUPPLICANT_CONNECTED](https://developer.android.com/reference/android/net/wifi/WifiManager.html#EXTRA_SUPPLICANT_CONNECTED)
        pub const EXTRA_SUPPLICANT_CONNECTED : &'static str = "connected";

        /// public static final [NETWORK_STATE_CHANGED_ACTION](https://developer.android.com/reference/android/net/wifi/WifiManager.html#NETWORK_STATE_CHANGED_ACTION)
        pub const NETWORK_STATE_CHANGED_ACTION : &'static str = "android.net.wifi.STATE_CHANGE";

        /// public static final [EXTRA_NETWORK_INFO](https://developer.android.com/reference/android/net/wifi/WifiManager.html#EXTRA_NETWORK_INFO)
        pub const EXTRA_NETWORK_INFO : &'static str = "networkInfo";

        /// public static final [EXTRA_BSSID](https://developer.android.com/reference/android/net/wifi/WifiManager.html#EXTRA_BSSID)
        pub const EXTRA_BSSID : &'static str = "bssid";

        /// public static final [SUPPLICANT_STATE_CHANGED_ACTION](https://developer.android.com/reference/android/net/wifi/WifiManager.html#SUPPLICANT_STATE_CHANGED_ACTION)
        pub const SUPPLICANT_STATE_CHANGED_ACTION : &'static str = "android.net.wifi.supplicant.STATE_CHANGE";

        /// public static final [EXTRA_NEW_STATE](https://developer.android.com/reference/android/net/wifi/WifiManager.html#EXTRA_NEW_STATE)
        pub const EXTRA_NEW_STATE : &'static str = "newState";

        /// public static final [EXTRA_SUPPLICANT_ERROR](https://developer.android.com/reference/android/net/wifi/WifiManager.html#EXTRA_SUPPLICANT_ERROR)
        pub const EXTRA_SUPPLICANT_ERROR : &'static str = "supplicantError";

        /// public static final [SCAN_RESULTS_AVAILABLE_ACTION](https://developer.android.com/reference/android/net/wifi/WifiManager.html#SCAN_RESULTS_AVAILABLE_ACTION)
        pub const SCAN_RESULTS_AVAILABLE_ACTION : &'static str = "android.net.wifi.SCAN_RESULTS";

        /// public static final [RSSI_CHANGED_ACTION](https://developer.android.com/reference/android/net/wifi/WifiManager.html#RSSI_CHANGED_ACTION)
        pub const RSSI_CHANGED_ACTION : &'static str = "android.net.wifi.RSSI_CHANGED";

        /// public static final [EXTRA_NEW_RSSI](https://developer.android.com/reference/android/net/wifi/WifiManager.html#EXTRA_NEW_RSSI)
        pub const EXTRA_NEW_RSSI : &'static str = "newRssi";

        /// public static final [NETWORK_IDS_CHANGED_ACTION](https://developer.android.com/reference/android/net/wifi/WifiManager.html#NETWORK_IDS_CHANGED_ACTION)
        pub const NETWORK_IDS_CHANGED_ACTION : &'static str = "android.net.wifi.NETWORK_IDS_CHANGED";

        /// public static final [ACTION_PICK_WIFI_NETWORK](https://developer.android.com/reference/android/net/wifi/WifiManager.html#ACTION_PICK_WIFI_NETWORK)
        pub const ACTION_PICK_WIFI_NETWORK : &'static str = "android.net.wifi.PICK_WIFI_NETWORK";

        /// public static final [WIFI_MODE_FULL](https://developer.android.com/reference/android/net/wifi/WifiManager.html#WIFI_MODE_FULL)
        pub const WIFI_MODE_FULL : i32 = 1;

        /// public static final [WIFI_MODE_SCAN_ONLY](https://developer.android.com/reference/android/net/wifi/WifiManager.html#WIFI_MODE_SCAN_ONLY)
        pub const WIFI_MODE_SCAN_ONLY : i32 = 2;
    }
}