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())
            }
        }

        /// [getLastOutgoingCall](https://developer.android.com/reference/android/provider/CallLog.Calls.html#getLastOutgoingCall(android.content.Context))
        ///
        /// Required features: "android-content-Context", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "java-lang-String")))]
        pub fn getLastOutgoingCall<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/provider/CallLog$Calls", java.flags == PUBLIC | STATIC, .name == "getLastOutgoingCall", .descriptor == "(Landroid/content/Context;)Ljava/lang/String;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/CallLog$Calls\0", "getLastOutgoingCall\0", "(Landroid/content/Context;)Ljava/lang/String;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

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

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

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

        /// 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_NORMALIZED_NUMBER](https://developer.android.com/reference/android/provider/CallLog.Calls.html#CACHED_NORMALIZED_NUMBER)
        pub const CACHED_NORMALIZED_NUMBER : &'static str = "normalized_number";

        /// 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";

        /// 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_PHOTO_ID](https://developer.android.com/reference/android/provider/CallLog.Calls.html#CACHED_PHOTO_ID)
        pub const CACHED_PHOTO_ID : &'static str = "photo_id";

        /// **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 [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 [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";

        /// **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_URI_WITH_VOICEMAIL](https://developer.android.com/reference/android/provider/CallLog.Calls.html#CONTENT_URI_WITH_VOICEMAIL)
        ///
        /// Required feature: "android-net-Uri"
        #[cfg(any(feature = "all", feature = "android-net-Uri"))]
        pub fn CONTENT_URI_WITH_VOICEMAIL<'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_WITH_VOICEMAIL\0", "Landroid/net/Uri;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

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

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

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

        /// 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 [DURATION](https://developer.android.com/reference/android/provider/CallLog.Calls.html#DURATION)
        pub const DURATION : &'static str = "duration";

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

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

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

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

        /// 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 [IS_READ](https://developer.android.com/reference/android/provider/CallLog.Calls.html#IS_READ)
        pub const IS_READ : &'static str = "is_read";

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

        /// 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 [NEW](https://developer.android.com/reference/android/provider/CallLog.Calls.html#NEW)
        pub const NEW : &'static str = "new";

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

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

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

        /// 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 [PHONE_ACCOUNT_COMPONENT_NAME](https://developer.android.com/reference/android/provider/CallLog.Calls.html#PHONE_ACCOUNT_COMPONENT_NAME)
        pub const PHONE_ACCOUNT_COMPONENT_NAME : &'static str = "subscription_component_name";

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

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

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

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

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

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

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

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

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