1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// 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 [ACTION_DEFAULT_SMS_PACKAGE_CHANGED](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#ACTION_DEFAULT_SMS_PACKAGE_CHANGED)
pub const ACTION_DEFAULT_SMS_PACKAGE_CHANGED : &'static str = "android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED";
/// public static final [ACTION_EXTERNAL_PROVIDER_CHANGE](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#ACTION_EXTERNAL_PROVIDER_CHANGE)
pub const ACTION_EXTERNAL_PROVIDER_CHANGE : &'static str = "android.provider.action.EXTERNAL_PROVIDER_CHANGE";
/// 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_IS_DEFAULT_SMS_APP](https://developer.android.com/reference/android/provider/Telephony.Sms.Intents.html#EXTRA_IS_DEFAULT_SMS_APP)
pub const EXTRA_IS_DEFAULT_SMS_APP : &'static str = "android.provider.extra.IS_DEFAULT_SMS_APP";
/// 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_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";
}
}