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-bluetooth-BluetoothClass_Device_Major"))]
__jni_bindgen! {
    /// public class [BluetoothClass.Device.Major](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html)
    ///
    /// Required feature: "android-bluetooth-BluetoothClass_Device_Major"
    public class BluetoothClass_Device_Major ("android/bluetooth/BluetoothClass$Device$Major") extends crate::java::lang::Object {

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

        /// public static final [MISC](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html#MISC)
        pub const MISC : i32 = 0;

        /// public static final [COMPUTER](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html#COMPUTER)
        pub const COMPUTER : i32 = 256;

        /// public static final [PHONE](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html#PHONE)
        pub const PHONE : i32 = 512;

        /// public static final [NETWORKING](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html#NETWORKING)
        pub const NETWORKING : i32 = 768;

        /// public static final [AUDIO_VIDEO](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html#AUDIO_VIDEO)
        pub const AUDIO_VIDEO : i32 = 1024;

        /// public static final [PERIPHERAL](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html#PERIPHERAL)
        pub const PERIPHERAL : i32 = 1280;

        /// public static final [IMAGING](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html#IMAGING)
        pub const IMAGING : i32 = 1536;

        /// public static final [WEARABLE](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html#WEARABLE)
        pub const WEARABLE : i32 = 1792;

        /// public static final [TOY](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html#TOY)
        pub const TOY : i32 = 2048;

        /// public static final [HEALTH](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html#HEALTH)
        pub const HEALTH : i32 = 2304;

        /// public static final [UNCATEGORIZED](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html#UNCATEGORIZED)
        pub const UNCATEGORIZED : i32 = 7936;
    }
}