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-CallLog_Calls"))]
__jni_bindgen! {
    /// public class [CallLog.Calls](https://developer.android.com/reference/android/provider/CallLog.Calls.html)
    ///
    /// Required feature: "android-provider-CallLog_Calls"
    public class CallLog_Calls ("android/provider/CallLog$Calls") extends crate::java::lang::Object, implements crate::android::provider::BaseColumns {

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

        /// **get** public static final [CONTENT_URI](https://developer.android.com/reference/android/provider/CallLog.Calls.html#CONTENT_URI)
        ///
        /// Required feature: "android-net-Uri"
        #[cfg(any(feature = "all", feature = "android-net-Uri"))]
        pub fn CONTENT_URI<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::Uri>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/provider/CallLog$Calls\0", "CONTENT_URI\0", "Landroid/net/Uri;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// **get** public static final [CONTENT_FILTER_URI](https://developer.android.com/reference/android/provider/CallLog.Calls.html#CONTENT_FILTER_URI)
        ///
        /// Required feature: "android-net-Uri"
        #[cfg(any(feature = "all", feature = "android-net-Uri"))]
        pub fn CONTENT_FILTER_URI<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::Uri>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/provider/CallLog$Calls\0", "CONTENT_FILTER_URI\0", "Landroid/net/Uri;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// public static final [DEFAULT_SORT_ORDER](https://developer.android.com/reference/android/provider/CallLog.Calls.html#DEFAULT_SORT_ORDER)
        pub const DEFAULT_SORT_ORDER : &'static str = "date DESC";

        /// public static final [CONTENT_TYPE](https://developer.android.com/reference/android/provider/CallLog.Calls.html#CONTENT_TYPE)
        pub const CONTENT_TYPE : &'static str = "vnd.android.cursor.dir/calls";

        /// public static final [CONTENT_ITEM_TYPE](https://developer.android.com/reference/android/provider/CallLog.Calls.html#CONTENT_ITEM_TYPE)
        pub const CONTENT_ITEM_TYPE : &'static str = "vnd.android.cursor.item/calls";

        /// public static final [TYPE](https://developer.android.com/reference/android/provider/CallLog.Calls.html#TYPE)
        pub const TYPE : &'static str = "type";

        /// public static final [INCOMING_TYPE](https://developer.android.com/reference/android/provider/CallLog.Calls.html#INCOMING_TYPE)
        pub const INCOMING_TYPE : i32 = 1;

        /// public static final [OUTGOING_TYPE](https://developer.android.com/reference/android/provider/CallLog.Calls.html#OUTGOING_TYPE)
        pub const OUTGOING_TYPE : i32 = 2;

        /// public static final [MISSED_TYPE](https://developer.android.com/reference/android/provider/CallLog.Calls.html#MISSED_TYPE)
        pub const MISSED_TYPE : i32 = 3;

        /// public static final [NUMBER](https://developer.android.com/reference/android/provider/CallLog.Calls.html#NUMBER)
        pub const NUMBER : &'static str = "number";

        /// public static final [DATE](https://developer.android.com/reference/android/provider/CallLog.Calls.html#DATE)
        pub const DATE : &'static str = "date";

        /// public static final [DURATION](https://developer.android.com/reference/android/provider/CallLog.Calls.html#DURATION)
        pub const DURATION : &'static str = "duration";

        /// public static final [NEW](https://developer.android.com/reference/android/provider/CallLog.Calls.html#NEW)
        pub const NEW : &'static str = "new";

        /// public static final [CACHED_NAME](https://developer.android.com/reference/android/provider/CallLog.Calls.html#CACHED_NAME)
        pub const CACHED_NAME : &'static str = "name";

        /// public static final [CACHED_NUMBER_TYPE](https://developer.android.com/reference/android/provider/CallLog.Calls.html#CACHED_NUMBER_TYPE)
        pub const CACHED_NUMBER_TYPE : &'static str = "numbertype";

        /// public static final [CACHED_NUMBER_LABEL](https://developer.android.com/reference/android/provider/CallLog.Calls.html#CACHED_NUMBER_LABEL)
        pub const CACHED_NUMBER_LABEL : &'static str = "numberlabel";
    }
}