#[cfg(any(feature = "all", feature = "android-renderscript-Element_DataKind"))]
__jni_bindgen! {
public enum Element_DataKind ("android/renderscript/Element$DataKind") extends crate::java::lang::Enum {
#[cfg(any(feature = "all", all(feature = "android-renderscript-Element_DataKind")))]
pub fn values<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ObjectArray<crate::android::renderscript::Element_DataKind, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/Element$DataKind\0", "values\0", "()[Landroid/renderscript/Element$DataKind;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-renderscript-Element_DataKind", feature = "java-lang-String")))]
pub fn valueOf<'env>(__jni_env: &'env __jni_bindgen::Env, 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::renderscript::Element_DataKind>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/renderscript/Element$DataKind\0", "valueOf\0", "(Ljava/lang/String;)Landroid/renderscript/Element$DataKind;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", feature = "android-renderscript-Element_DataKind"))]
pub fn USER<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Element_DataKind>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/renderscript/Element$DataKind\0", "USER\0", "Landroid/renderscript/Element$DataKind;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-renderscript-Element_DataKind"))]
pub fn PIXEL_L<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Element_DataKind>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/renderscript/Element$DataKind\0", "PIXEL_L\0", "Landroid/renderscript/Element$DataKind;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-renderscript-Element_DataKind"))]
pub fn PIXEL_A<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Element_DataKind>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/renderscript/Element$DataKind\0", "PIXEL_A\0", "Landroid/renderscript/Element$DataKind;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-renderscript-Element_DataKind"))]
pub fn PIXEL_LA<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Element_DataKind>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/renderscript/Element$DataKind\0", "PIXEL_LA\0", "Landroid/renderscript/Element$DataKind;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-renderscript-Element_DataKind"))]
pub fn PIXEL_RGB<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Element_DataKind>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/renderscript/Element$DataKind\0", "PIXEL_RGB\0", "Landroid/renderscript/Element$DataKind;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-renderscript-Element_DataKind"))]
pub fn PIXEL_RGBA<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Element_DataKind>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/renderscript/Element$DataKind\0", "PIXEL_RGBA\0", "Landroid/renderscript/Element$DataKind;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-renderscript-Element_DataKind"))]
pub fn PIXEL_DEPTH<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Element_DataKind>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/renderscript/Element$DataKind\0", "PIXEL_DEPTH\0", "Landroid/renderscript/Element$DataKind;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
#[cfg(any(feature = "all", feature = "android-renderscript-Element_DataKind"))]
pub fn PIXEL_YUV<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::renderscript::Element_DataKind>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/renderscript/Element$DataKind\0", "PIXEL_YUV\0", "Landroid/renderscript/Element$DataKind;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}