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-Telephony_Sms_Intents"))]
__jni_bindgen! {
    /// public final class [Telephony.Sms.Intents](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html)
    ///
    /// Required feature: "android-provider-Telephony_Sms_Intents"
    public final class Telephony_Sms_Intents ("android/provider/Telephony$Sms$Intents") extends crate::java::lang::Object {

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

        /// public static final [ACTION_CHANGE_DEFAULT](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#ACTION_CHANGE_DEFAULT)
        pub const ACTION_CHANGE_DEFAULT : &'static str = "android.provider.Telephony.ACTION_CHANGE_DEFAULT";

        /// public static final [DATA_SMS_RECEIVED_ACTION](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#DATA_SMS_RECEIVED_ACTION)
        pub const DATA_SMS_RECEIVED_ACTION : &'static str = "android.intent.action.DATA_SMS_RECEIVED";

        /// public static final [EXTRA_PACKAGE_NAME](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#EXTRA_PACKAGE_NAME)
        pub const EXTRA_PACKAGE_NAME : &'static str = "package";

        /// public static final [RESULT_SMS_DUPLICATED](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#RESULT_SMS_DUPLICATED)
        pub const RESULT_SMS_DUPLICATED : i32 = 5;

        /// public static final [RESULT_SMS_GENERIC_ERROR](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#RESULT_SMS_GENERIC_ERROR)
        pub const RESULT_SMS_GENERIC_ERROR : i32 = 2;

        /// public static final [RESULT_SMS_HANDLED](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#RESULT_SMS_HANDLED)
        pub const RESULT_SMS_HANDLED : i32 = 1;

        /// public static final [RESULT_SMS_OUT_OF_MEMORY](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#RESULT_SMS_OUT_OF_MEMORY)
        pub const RESULT_SMS_OUT_OF_MEMORY : i32 = 3;

        /// public static final [RESULT_SMS_UNSUPPORTED](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#RESULT_SMS_UNSUPPORTED)
        pub const RESULT_SMS_UNSUPPORTED : i32 = 4;

        /// public static final [SIM_FULL_ACTION](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#SIM_FULL_ACTION)
        pub const SIM_FULL_ACTION : &'static str = "android.provider.Telephony.SIM_FULL";

        /// public static final [SMS_CB_RECEIVED_ACTION](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#SMS_CB_RECEIVED_ACTION)
        pub const SMS_CB_RECEIVED_ACTION : &'static str = "android.provider.Telephony.SMS_CB_RECEIVED";

        /// public static final [SMS_DELIVER_ACTION](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#SMS_DELIVER_ACTION)
        pub const SMS_DELIVER_ACTION : &'static str = "android.provider.Telephony.SMS_DELIVER";

        /// public static final [SMS_EMERGENCY_CB_RECEIVED_ACTION](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#SMS_EMERGENCY_CB_RECEIVED_ACTION)
        pub const SMS_EMERGENCY_CB_RECEIVED_ACTION : &'static str = "android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED";

        /// public static final [SMS_RECEIVED_ACTION](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#SMS_RECEIVED_ACTION)
        pub const SMS_RECEIVED_ACTION : &'static str = "android.provider.Telephony.SMS_RECEIVED";

        /// public static final [SMS_REJECTED_ACTION](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#SMS_REJECTED_ACTION)
        pub const SMS_REJECTED_ACTION : &'static str = "android.provider.Telephony.SMS_REJECTED";

        /// public static final [SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION)
        pub const SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION : &'static str = "android.provider.Telephony.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED";

        /// public static final [WAP_PUSH_DELIVER_ACTION](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#WAP_PUSH_DELIVER_ACTION)
        pub const WAP_PUSH_DELIVER_ACTION : &'static str = "android.provider.Telephony.WAP_PUSH_DELIVER";

        /// public static final [WAP_PUSH_RECEIVED_ACTION](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#WAP_PUSH_RECEIVED_ACTION)
        pub const WAP_PUSH_RECEIVED_ACTION : &'static str = "android.provider.Telephony.WAP_PUSH_RECEIVED";
    }
}