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

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

        /// public static final [RIGHTS_EXPIRED](https://developer.android.com/reference/android/drm/DrmStore.RightsStatus.html#RIGHTS_EXPIRED)
        pub const RIGHTS_EXPIRED : i32 = 2;

        /// public static final [RIGHTS_INVALID](https://developer.android.com/reference/android/drm/DrmStore.RightsStatus.html#RIGHTS_INVALID)
        pub const RIGHTS_INVALID : i32 = 1;

        /// public static final [RIGHTS_NOT_ACQUIRED](https://developer.android.com/reference/android/drm/DrmStore.RightsStatus.html#RIGHTS_NOT_ACQUIRED)
        pub const RIGHTS_NOT_ACQUIRED : i32 = 3;

        /// public static final [RIGHTS_VALID](https://developer.android.com/reference/android/drm/DrmStore.RightsStatus.html#RIGHTS_VALID)
        pub const RIGHTS_VALID : i32 = 0;
    }
}