__jni_bindgen! {
#[cfg(any(feature = "all", feature = "android-content-Intent"))]
public class Intent extends crate::java::lang::Object, implements crate::android::os::Parcelable, crate::java::lang::Cloneable {
pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::android::content::Intent>> {
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "<init>\0", "()V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent")))]
pub fn new_intent<'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::Result<__jni_bindgen::Local<'env, crate::android::content::Intent>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "<init>\0", "(Landroid/content/Intent;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn new_string<'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::Result<__jni_bindgen::Local<'env, crate::android::content::Intent>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "<init>\0", "(Ljava/lang/String;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-net-Uri", feature = "java-lang-String")))]
pub fn new_string_uri<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::Uri>>) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::android::content::Intent>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "<init>\0", "(Ljava/lang/String;Landroid/net/Uri;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "java-lang-Class")))]
pub fn new_context_class<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Class>>) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::android::content::Intent>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "<init>\0", "(Landroid/content/Context;Ljava/lang/Class;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "android-net-Uri", feature = "java-lang-Class", feature = "java-lang-String")))]
pub fn new_string_uri_context_class<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::Uri>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Class>>) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::android::content::Intent>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "<init>\0", "(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-CharSequence")))]
pub fn create_chooser_intent_char_sequence<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Intent>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/content/Intent\0", "createChooser\0", "(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "android-content-IntentSender", feature = "java-lang-CharSequence")))]
pub fn create_chooser_intent_char_sequence_intent_sender<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Intent>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::IntentSender>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/content/Intent\0", "createChooser\0", "(Landroid/content/Intent;Ljava/lang/CharSequence;Landroid/content/IntentSender;)Landroid/content/Intent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn clone<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "clone\0", "()Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent")))]
pub fn clone_filter<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "cloneFilter\0", "()Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-ComponentName", feature = "android-content-Intent")))]
pub fn make_main_activity<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ComponentName>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/content/Intent\0", "makeMainActivity\0", "(Landroid/content/ComponentName;)Landroid/content/Intent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn make_main_selector_activity<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/content/Intent\0", "makeMainSelectorActivity\0", "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-ComponentName", feature = "android-content-Intent")))]
pub fn make_restart_activity_task<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ComponentName>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/content/Intent\0", "makeRestartActivityTask\0", "(Landroid/content/ComponentName;)Landroid/content/Intent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
#[deprecated] pub fn get_intent<'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::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/content/Intent\0", "getIntent\0", "(Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn parse_uri<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i32) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/content/Intent\0", "parseUri\0", "(Ljava/lang/String;I)Landroid/content/Intent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn get_intent_old<'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::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/content/Intent\0", "getIntentOld\0", "(Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_action<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getAction\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-net-Uri")))]
pub fn get_data<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::Uri>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getData\0", "()Landroid/net/Uri;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_data_string<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getDataString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_scheme<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getScheme\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_type<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getType\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "java-lang-String")))]
pub fn resolve_type_context<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "resolveType\0", "(Landroid/content/Context;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-ContentResolver", feature = "java-lang-String")))]
pub fn resolve_type_content_resolver<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ContentResolver>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "resolveType\0", "(Landroid/content/ContentResolver;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-ContentResolver", feature = "java-lang-String")))]
pub fn resolve_type_if_needed<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ContentResolver>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "resolveTypeIfNeeded\0", "(Landroid/content/ContentResolver;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn has_category<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<bool> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "hasCategory\0", "(Ljava/lang/String;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-util-Set")))]
pub fn get_categories<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Set>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getCategories\0", "()Ljava/util/Set;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent")))]
pub fn get_selector<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getSelector\0", "()Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-ClipData")))]
pub fn get_clip_data<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::ClipData>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getClipData\0", "()Landroid/content/ClipData;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-ClassLoader")))]
pub fn set_extras_class_loader<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::ClassLoader>>) -> __jni_bindgen::Result<()> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setExtrasClassLoader\0", "(Ljava/lang/ClassLoader;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn has_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<bool> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "hasExtra\0", "(Ljava/lang/String;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
pub fn has_file_descriptors<'env>(&'env self) -> __jni_bindgen::Result<bool> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "hasFileDescriptors\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_boolean_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: bool) -> __jni_bindgen::Result<bool> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getBooleanExtra\0", "(Ljava/lang/String;Z)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_byte_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i8) -> __jni_bindgen::Result<i8> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getByteExtra\0", "(Ljava/lang/String;B)B\0");
__jni_env.call_byte_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_short_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i16) -> __jni_bindgen::Result<i16> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getShortExtra\0", "(Ljava/lang/String;S)S\0");
__jni_env.call_short_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_char_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: __jni_bindgen::jchar) -> __jni_bindgen::Result<__jni_bindgen::jchar> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getCharExtra\0", "(Ljava/lang/String;C)C\0");
__jni_env.call_char_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_int_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i32) -> __jni_bindgen::Result<i32> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getIntExtra\0", "(Ljava/lang/String;I)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_long_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i64) -> __jni_bindgen::Result<i64> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getLongExtra\0", "(Ljava/lang/String;J)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_float_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: f32) -> __jni_bindgen::Result<f32> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getFloatExtra\0", "(Ljava/lang/String;F)F\0");
__jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_double_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: f64) -> __jni_bindgen::Result<f64> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getDoubleExtra\0", "(Ljava/lang/String;D)D\0");
__jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_string_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getStringExtra\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence", feature = "java-lang-String")))]
pub fn get_char_sequence_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::CharSequence>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getCharSequenceExtra\0", "(Ljava/lang/String;)Ljava/lang/CharSequence;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-Parcelable", feature = "java-lang-String")))]
pub fn get_parcelable_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::os::Parcelable>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getParcelableExtra\0", "(Ljava/lang/String;)Landroid/os/Parcelable;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-ArrayList")))]
pub fn get_parcelable_array_list_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::ArrayList>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getParcelableArrayListExtra\0", "(Ljava/lang/String;)Ljava/util/ArrayList;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-io-Serializable", feature = "java-lang-String")))]
pub fn get_serializable_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::io::Serializable>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getSerializableExtra\0", "(Ljava/lang/String;)Ljava/io/Serializable;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-ArrayList")))]
pub fn get_integer_array_list_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::ArrayList>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getIntegerArrayListExtra\0", "(Ljava/lang/String;)Ljava/util/ArrayList;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-ArrayList")))]
pub fn get_string_array_list_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::ArrayList>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getStringArrayListExtra\0", "(Ljava/lang/String;)Ljava/util/ArrayList;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-ArrayList")))]
pub fn get_char_sequence_array_list_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::ArrayList>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getCharSequenceArrayListExtra\0", "(Ljava/lang/String;)Ljava/util/ArrayList;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_boolean_array_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::BooleanArray>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getBooleanArrayExtra\0", "(Ljava/lang/String;)[Z\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_byte_array_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ByteArray >>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getByteArrayExtra\0", "(Ljava/lang/String;)[B\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_short_array_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ShortArray >>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getShortArrayExtra\0", "(Ljava/lang/String;)[S\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_char_array_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::CharArray >>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getCharArrayExtra\0", "(Ljava/lang/String;)[C\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_int_array_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::IntArray >>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getIntArrayExtra\0", "(Ljava/lang/String;)[I\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_long_array_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::LongArray >>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getLongArrayExtra\0", "(Ljava/lang/String;)[J\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_float_array_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::FloatArray >>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getFloatArrayExtra\0", "(Ljava/lang/String;)[F\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_double_array_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::DoubleArray >>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getDoubleArrayExtra\0", "(Ljava/lang/String;)[D\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-Bundle", feature = "java-lang-String")))]
pub fn get_bundle_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::os::Bundle>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getBundleExtra\0", "(Ljava/lang/String;)Landroid/os/Bundle;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-Bundle")))]
pub fn get_extras<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::os::Bundle>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getExtras\0", "()Landroid/os/Bundle;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
pub fn get_flags<'env>(&'env self) -> __jni_bindgen::Result<i32> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getFlags\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn get_package<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getPackage\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-ComponentName")))]
pub fn get_component<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::ComponentName>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getComponent\0", "()Landroid/content/ComponentName;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect")))]
pub fn get_source_bounds<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::graphics::Rect>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "getSourceBounds\0", "()Landroid/graphics/Rect;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-ComponentName", feature = "android-content-pm-PackageManager")))]
pub fn resolve_activity<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::pm::PackageManager>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::ComponentName>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "resolveActivity\0", "(Landroid/content/pm/PackageManager;)Landroid/content/ComponentName;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-pm-ActivityInfo", feature = "android-content-pm-PackageManager")))]
pub fn resolve_activity_info<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::pm::PackageManager>>, arg1: i32) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::pm::ActivityInfo>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "resolveActivityInfo\0", "(Landroid/content/pm/PackageManager;I)Landroid/content/pm/ActivityInfo;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn set_action<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setAction\0", "(Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "android-net-Uri")))]
pub fn set_data<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::Uri>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setData\0", "(Landroid/net/Uri;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "android-net-Uri")))]
pub fn set_data_and_normalize<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::Uri>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setDataAndNormalize\0", "(Landroid/net/Uri;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn set_type<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setType\0", "(Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn set_type_and_normalize<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setTypeAndNormalize\0", "(Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "android-net-Uri", feature = "java-lang-String")))]
pub fn set_data_and_type<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::Uri>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setDataAndType\0", "(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "android-net-Uri", feature = "java-lang-String")))]
pub fn set_data_and_type_and_normalize<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::net::Uri>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setDataAndTypeAndNormalize\0", "(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn add_category<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "addCategory\0", "(Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn remove_category<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<()> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "removeCategory\0", "(Ljava/lang/String;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent")))]
pub fn set_selector<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Intent>>) -> __jni_bindgen::Result<()> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setSelector\0", "(Landroid/content/Intent;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-ClipData")))]
pub fn set_clip_data<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ClipData>>) -> __jni_bindgen::Result<()> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setClipData\0", "(Landroid/content/ClipData;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_boolean<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: bool) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;Z)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_byte<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i8) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;B)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_char<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: __jni_bindgen::jchar) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;C)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_short<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i16) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;S)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i32) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;I)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_long<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i64) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;J)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_float<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: f32) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;F)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_double<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: f64) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;D)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_string<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-CharSequence", feature = "java-lang-String")))]
pub fn put_extra_string_char_sequence<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "android-os-Parcelable", feature = "java-lang-String")))]
pub fn put_extra_string_parcelable<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Parcelable>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String", feature = "java-util-ArrayList")))]
pub fn put_parcelable_array_list_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::ArrayList>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putParcelableArrayListExtra\0", "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String", feature = "java-util-ArrayList")))]
pub fn put_integer_array_list_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::ArrayList>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putIntegerArrayListExtra\0", "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String", feature = "java-util-ArrayList")))]
pub fn put_string_array_list_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::ArrayList>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putStringArrayListExtra\0", "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String", feature = "java-util-ArrayList")))]
pub fn put_char_sequence_array_list_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::ArrayList>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putCharSequenceArrayListExtra\0", "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-io-Serializable", feature = "java-lang-String")))]
pub fn put_extra_string_serializable<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::io::Serializable>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_boolean_array<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::BooleanArray>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;[Z)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_byte_array<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ByteArray >>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;[B)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_short_array<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ShortArray >>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;[S)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_char_array<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray >>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;[C)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_int_array<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::IntArray >>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;[I)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_long_array<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::LongArray >>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;[J)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_float_array<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray >>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;[F)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn put_extra_string_double_array<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::DoubleArray >>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;[D)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "android-os-Bundle", feature = "java-lang-String")))]
pub fn put_extra_string_bundle<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Bundle>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtra\0", "(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent")))]
pub fn put_extras_intent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Intent>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtras\0", "(Landroid/content/Intent;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "android-os-Bundle")))]
pub fn put_extras_bundle<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Bundle>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "putExtras\0", "(Landroid/os/Bundle;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent")))]
pub fn replace_extras_intent<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Intent>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "replaceExtras\0", "(Landroid/content/Intent;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "android-os-Bundle")))]
pub fn replace_extras_bundle<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Bundle>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "replaceExtras\0", "(Landroid/os/Bundle;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn remove_extra<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<()> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "removeExtra\0", "(Ljava/lang/String;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent")))]
pub fn set_flags<'env>(&'env self, arg0: i32) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setFlags\0", "(I)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent")))]
pub fn add_flags<'env>(&'env self, arg0: i32) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "addFlags\0", "(I)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
pub fn remove_flags<'env>(&'env self, arg0: i32) -> __jni_bindgen::Result<()> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "removeFlags\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn set_package<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setPackage\0", "(Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-ComponentName", feature = "android-content-Intent")))]
pub fn set_component<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ComponentName>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setComponent\0", "(Landroid/content/ComponentName;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn set_class_name_context_string<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setClassName\0", "(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "java-lang-String")))]
pub fn set_class_name_string_string<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setClassName\0", "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "android-content-Intent", feature = "java-lang-Class")))]
pub fn set_class<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Class>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setClass\0", "(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-graphics-Rect")))]
pub fn set_source_bounds<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::graphics::Rect>>) -> __jni_bindgen::Result<()> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "setSourceBounds\0", "(Landroid/graphics/Rect;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent")))]
pub fn fill_in<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Intent>>, arg1: i32) -> __jni_bindgen::Result<i32> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "fillIn\0", "(Landroid/content/Intent;I)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent")))]
pub fn filter_equals<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Intent>>) -> __jni_bindgen::Result<bool> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "filterEquals\0", "(Landroid/content/Intent;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
pub fn filter_hash_code<'env>(&'env self) -> __jni_bindgen::Result<i32> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "filterHashCode\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn to_string<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "toString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
#[deprecated] pub fn to_uri<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "toURI\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn to_uri_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "toUri\0", "(I)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
pub fn describe_contents<'env>(&'env self) -> __jni_bindgen::Result<i32> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "describeContents\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-Parcel")))]
pub fn write_to_parcel<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Parcel>>, arg1: i32) -> __jni_bindgen::Result<()> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "writeToParcel\0", "(Landroid/os/Parcel;I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-Parcel")))]
pub fn read_from_parcel<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Parcel>>) -> __jni_bindgen::Result<()> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/Intent\0", "readFromParcel\0", "(Landroid/os/Parcel;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "android-content-res-Resources", feature = "android-util-AttributeSet", feature = "org-xmlpull-v1-XmlPullParser")))]
pub fn parse_intent<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::res::Resources>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::xmlpull::v1::XmlPullParser>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::util::AttributeSet>>) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/content/Intent\0", "parseIntent\0", "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)Landroid/content/Intent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn normalize_mime_type<'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::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::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/content/Intent\0", "normalizeMimeType\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
pub const ACTION_AIRPLANE_MODE_CHANGED : &'static str = "android.intent.action.AIRPLANE_MODE";
pub const ACTION_ALL_APPS : &'static str = "android.intent.action.ALL_APPS";
pub const ACTION_ANSWER : &'static str = "android.intent.action.ANSWER";
pub const ACTION_APPLICATION_PREFERENCES : &'static str = "android.intent.action.APPLICATION_PREFERENCES";
pub const ACTION_APPLICATION_RESTRICTIONS_CHANGED : &'static str = "android.intent.action.APPLICATION_RESTRICTIONS_CHANGED";
pub const ACTION_APP_ERROR : &'static str = "android.intent.action.APP_ERROR";
pub const ACTION_ASSIST : &'static str = "android.intent.action.ASSIST";
pub const ACTION_ATTACH_DATA : &'static str = "android.intent.action.ATTACH_DATA";
pub const ACTION_BATTERY_CHANGED : &'static str = "android.intent.action.BATTERY_CHANGED";
pub const ACTION_BATTERY_LOW : &'static str = "android.intent.action.BATTERY_LOW";
pub const ACTION_BATTERY_OKAY : &'static str = "android.intent.action.BATTERY_OKAY";
pub const ACTION_BOOT_COMPLETED : &'static str = "android.intent.action.BOOT_COMPLETED";
pub const ACTION_BUG_REPORT : &'static str = "android.intent.action.BUG_REPORT";
pub const ACTION_CALL : &'static str = "android.intent.action.CALL";
pub const ACTION_CALL_BUTTON : &'static str = "android.intent.action.CALL_BUTTON";
pub const ACTION_CAMERA_BUTTON : &'static str = "android.intent.action.CAMERA_BUTTON";
pub const ACTION_CARRIER_SETUP : &'static str = "android.intent.action.CARRIER_SETUP";
pub const ACTION_CHOOSER : &'static str = "android.intent.action.CHOOSER";
pub const ACTION_CLOSE_SYSTEM_DIALOGS : &'static str = "android.intent.action.CLOSE_SYSTEM_DIALOGS";
pub const ACTION_CONFIGURATION_CHANGED : &'static str = "android.intent.action.CONFIGURATION_CHANGED";
pub const ACTION_CREATE_DOCUMENT : &'static str = "android.intent.action.CREATE_DOCUMENT";
pub const ACTION_CREATE_SHORTCUT : &'static str = "android.intent.action.CREATE_SHORTCUT";
pub const ACTION_DATE_CHANGED : &'static str = "android.intent.action.DATE_CHANGED";
pub const ACTION_DEFAULT : &'static str = "android.intent.action.VIEW";
pub const ACTION_DELETE : &'static str = "android.intent.action.DELETE";
#[deprecated] pub const ACTION_DEVICE_STORAGE_LOW : &'static str = "android.intent.action.DEVICE_STORAGE_LOW";
#[deprecated] pub const ACTION_DEVICE_STORAGE_OK : &'static str = "android.intent.action.DEVICE_STORAGE_OK";
pub const ACTION_DIAL : &'static str = "android.intent.action.DIAL";
pub const ACTION_DOCK_EVENT : &'static str = "android.intent.action.DOCK_EVENT";
pub const ACTION_DREAMING_STARTED : &'static str = "android.intent.action.DREAMING_STARTED";
pub const ACTION_DREAMING_STOPPED : &'static str = "android.intent.action.DREAMING_STOPPED";
pub const ACTION_EDIT : &'static str = "android.intent.action.EDIT";
pub const ACTION_EXTERNAL_APPLICATIONS_AVAILABLE : &'static str = "android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE";
pub const ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE : &'static str = "android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE";
pub const ACTION_FACTORY_TEST : &'static str = "android.intent.action.FACTORY_TEST";
pub const ACTION_GET_CONTENT : &'static str = "android.intent.action.GET_CONTENT";
pub const ACTION_GET_RESTRICTION_ENTRIES : &'static str = "android.intent.action.GET_RESTRICTION_ENTRIES";
pub const ACTION_GTALK_SERVICE_CONNECTED : &'static str = "android.intent.action.GTALK_CONNECTED";
pub const ACTION_GTALK_SERVICE_DISCONNECTED : &'static str = "android.intent.action.GTALK_DISCONNECTED";
pub const ACTION_HEADSET_PLUG : &'static str = "android.intent.action.HEADSET_PLUG";
pub const ACTION_INPUT_METHOD_CHANGED : &'static str = "android.intent.action.INPUT_METHOD_CHANGED";
pub const ACTION_INSERT : &'static str = "android.intent.action.INSERT";
pub const ACTION_INSERT_OR_EDIT : &'static str = "android.intent.action.INSERT_OR_EDIT";
pub const ACTION_INSTALL_FAILURE : &'static str = "android.intent.action.INSTALL_FAILURE";
pub const ACTION_INSTALL_PACKAGE : &'static str = "android.intent.action.INSTALL_PACKAGE";
pub const ACTION_LOCALE_CHANGED : &'static str = "android.intent.action.LOCALE_CHANGED";
pub const ACTION_LOCKED_BOOT_COMPLETED : &'static str = "android.intent.action.LOCKED_BOOT_COMPLETED";
pub const ACTION_MAIN : &'static str = "android.intent.action.MAIN";
pub const ACTION_MANAGED_PROFILE_ADDED : &'static str = "android.intent.action.MANAGED_PROFILE_ADDED";
pub const ACTION_MANAGED_PROFILE_AVAILABLE : &'static str = "android.intent.action.MANAGED_PROFILE_AVAILABLE";
pub const ACTION_MANAGED_PROFILE_REMOVED : &'static str = "android.intent.action.MANAGED_PROFILE_REMOVED";
pub const ACTION_MANAGED_PROFILE_UNAVAILABLE : &'static str = "android.intent.action.MANAGED_PROFILE_UNAVAILABLE";
pub const ACTION_MANAGED_PROFILE_UNLOCKED : &'static str = "android.intent.action.MANAGED_PROFILE_UNLOCKED";
pub const ACTION_MANAGE_NETWORK_USAGE : &'static str = "android.intent.action.MANAGE_NETWORK_USAGE";
pub const ACTION_MANAGE_PACKAGE_STORAGE : &'static str = "android.intent.action.MANAGE_PACKAGE_STORAGE";
pub const ACTION_MEDIA_BAD_REMOVAL : &'static str = "android.intent.action.MEDIA_BAD_REMOVAL";
pub const ACTION_MEDIA_BUTTON : &'static str = "android.intent.action.MEDIA_BUTTON";
pub const ACTION_MEDIA_CHECKING : &'static str = "android.intent.action.MEDIA_CHECKING";
pub const ACTION_MEDIA_EJECT : &'static str = "android.intent.action.MEDIA_EJECT";
pub const ACTION_MEDIA_MOUNTED : &'static str = "android.intent.action.MEDIA_MOUNTED";
pub const ACTION_MEDIA_NOFS : &'static str = "android.intent.action.MEDIA_NOFS";
pub const ACTION_MEDIA_REMOVED : &'static str = "android.intent.action.MEDIA_REMOVED";
pub const ACTION_MEDIA_SCANNER_FINISHED : &'static str = "android.intent.action.MEDIA_SCANNER_FINISHED";
pub const ACTION_MEDIA_SCANNER_SCAN_FILE : &'static str = "android.intent.action.MEDIA_SCANNER_SCAN_FILE";
pub const ACTION_MEDIA_SCANNER_STARTED : &'static str = "android.intent.action.MEDIA_SCANNER_STARTED";
pub const ACTION_MEDIA_SHARED : &'static str = "android.intent.action.MEDIA_SHARED";
pub const ACTION_MEDIA_UNMOUNTABLE : &'static str = "android.intent.action.MEDIA_UNMOUNTABLE";
pub const ACTION_MEDIA_UNMOUNTED : &'static str = "android.intent.action.MEDIA_UNMOUNTED";
pub const ACTION_MY_PACKAGE_REPLACED : &'static str = "android.intent.action.MY_PACKAGE_REPLACED";
pub const ACTION_MY_PACKAGE_SUSPENDED : &'static str = "android.intent.action.MY_PACKAGE_SUSPENDED";
pub const ACTION_MY_PACKAGE_UNSUSPENDED : &'static str = "android.intent.action.MY_PACKAGE_UNSUSPENDED";
pub const ACTION_NEW_OUTGOING_CALL : &'static str = "android.intent.action.NEW_OUTGOING_CALL";
pub const ACTION_OPEN_DOCUMENT : &'static str = "android.intent.action.OPEN_DOCUMENT";
pub const ACTION_OPEN_DOCUMENT_TREE : &'static str = "android.intent.action.OPEN_DOCUMENT_TREE";
pub const ACTION_PACKAGES_SUSPENDED : &'static str = "android.intent.action.PACKAGES_SUSPENDED";
pub const ACTION_PACKAGES_UNSUSPENDED : &'static str = "android.intent.action.PACKAGES_UNSUSPENDED";
pub const ACTION_PACKAGE_ADDED : &'static str = "android.intent.action.PACKAGE_ADDED";
pub const ACTION_PACKAGE_CHANGED : &'static str = "android.intent.action.PACKAGE_CHANGED";
pub const ACTION_PACKAGE_DATA_CLEARED : &'static str = "android.intent.action.PACKAGE_DATA_CLEARED";
pub const ACTION_PACKAGE_FIRST_LAUNCH : &'static str = "android.intent.action.PACKAGE_FIRST_LAUNCH";
pub const ACTION_PACKAGE_FULLY_REMOVED : &'static str = "android.intent.action.PACKAGE_FULLY_REMOVED";
#[deprecated] pub const ACTION_PACKAGE_INSTALL : &'static str = "android.intent.action.PACKAGE_INSTALL";
pub const ACTION_PACKAGE_NEEDS_VERIFICATION : &'static str = "android.intent.action.PACKAGE_NEEDS_VERIFICATION";
pub const ACTION_PACKAGE_REMOVED : &'static str = "android.intent.action.PACKAGE_REMOVED";
pub const ACTION_PACKAGE_REPLACED : &'static str = "android.intent.action.PACKAGE_REPLACED";
pub const ACTION_PACKAGE_RESTARTED : &'static str = "android.intent.action.PACKAGE_RESTARTED";
pub const ACTION_PACKAGE_VERIFIED : &'static str = "android.intent.action.PACKAGE_VERIFIED";
pub const ACTION_PASTE : &'static str = "android.intent.action.PASTE";
pub const ACTION_PICK : &'static str = "android.intent.action.PICK";
pub const ACTION_PICK_ACTIVITY : &'static str = "android.intent.action.PICK_ACTIVITY";
pub const ACTION_POWER_CONNECTED : &'static str = "android.intent.action.ACTION_POWER_CONNECTED";
pub const ACTION_POWER_DISCONNECTED : &'static str = "android.intent.action.ACTION_POWER_DISCONNECTED";
pub const ACTION_POWER_USAGE_SUMMARY : &'static str = "android.intent.action.POWER_USAGE_SUMMARY";
pub const ACTION_PROCESS_TEXT : &'static str = "android.intent.action.PROCESS_TEXT";
pub const ACTION_PROVIDER_CHANGED : &'static str = "android.intent.action.PROVIDER_CHANGED";
pub const ACTION_QUICK_CLOCK : &'static str = "android.intent.action.QUICK_CLOCK";
pub const ACTION_QUICK_VIEW : &'static str = "android.intent.action.QUICK_VIEW";
pub const ACTION_REBOOT : &'static str = "android.intent.action.REBOOT";
pub const ACTION_RUN : &'static str = "android.intent.action.RUN";
pub const ACTION_SCREEN_OFF : &'static str = "android.intent.action.SCREEN_OFF";
pub const ACTION_SCREEN_ON : &'static str = "android.intent.action.SCREEN_ON";
pub const ACTION_SEARCH : &'static str = "android.intent.action.SEARCH";
pub const ACTION_SEARCH_LONG_PRESS : &'static str = "android.intent.action.SEARCH_LONG_PRESS";
pub const ACTION_SEND : &'static str = "android.intent.action.SEND";
pub const ACTION_SENDTO : &'static str = "android.intent.action.SENDTO";
pub const ACTION_SEND_MULTIPLE : &'static str = "android.intent.action.SEND_MULTIPLE";
pub const ACTION_SET_WALLPAPER : &'static str = "android.intent.action.SET_WALLPAPER";
pub const ACTION_SHOW_APP_INFO : &'static str = "android.intent.action.SHOW_APP_INFO";
pub const ACTION_SHUTDOWN : &'static str = "android.intent.action.ACTION_SHUTDOWN";
pub const ACTION_SYNC : &'static str = "android.intent.action.SYNC";
pub const ACTION_SYSTEM_TUTORIAL : &'static str = "android.intent.action.SYSTEM_TUTORIAL";
pub const ACTION_TIMEZONE_CHANGED : &'static str = "android.intent.action.TIMEZONE_CHANGED";
pub const ACTION_TIME_CHANGED : &'static str = "android.intent.action.TIME_SET";
pub const ACTION_TIME_TICK : &'static str = "android.intent.action.TIME_TICK";
pub const ACTION_UID_REMOVED : &'static str = "android.intent.action.UID_REMOVED";
#[deprecated] pub const ACTION_UMS_CONNECTED : &'static str = "android.intent.action.UMS_CONNECTED";
#[deprecated] pub const ACTION_UMS_DISCONNECTED : &'static str = "android.intent.action.UMS_DISCONNECTED";
pub const ACTION_UNINSTALL_PACKAGE : &'static str = "android.intent.action.UNINSTALL_PACKAGE";
pub const ACTION_USER_BACKGROUND : &'static str = "android.intent.action.USER_BACKGROUND";
pub const ACTION_USER_FOREGROUND : &'static str = "android.intent.action.USER_FOREGROUND";
pub const ACTION_USER_INITIALIZE : &'static str = "android.intent.action.USER_INITIALIZE";
pub const ACTION_USER_PRESENT : &'static str = "android.intent.action.USER_PRESENT";
pub const ACTION_USER_UNLOCKED : &'static str = "android.intent.action.USER_UNLOCKED";
pub const ACTION_VIEW : &'static str = "android.intent.action.VIEW";
pub const ACTION_VOICE_COMMAND : &'static str = "android.intent.action.VOICE_COMMAND";
#[deprecated] pub const ACTION_WALLPAPER_CHANGED : &'static str = "android.intent.action.WALLPAPER_CHANGED";
pub const ACTION_WEB_SEARCH : &'static str = "android.intent.action.WEB_SEARCH";
pub const CATEGORY_ALTERNATIVE : &'static str = "android.intent.category.ALTERNATIVE";
pub const CATEGORY_APP_BROWSER : &'static str = "android.intent.category.APP_BROWSER";
pub const CATEGORY_APP_CALCULATOR : &'static str = "android.intent.category.APP_CALCULATOR";
pub const CATEGORY_APP_CALENDAR : &'static str = "android.intent.category.APP_CALENDAR";
pub const CATEGORY_APP_CONTACTS : &'static str = "android.intent.category.APP_CONTACTS";
pub const CATEGORY_APP_EMAIL : &'static str = "android.intent.category.APP_EMAIL";
pub const CATEGORY_APP_GALLERY : &'static str = "android.intent.category.APP_GALLERY";
pub const CATEGORY_APP_MAPS : &'static str = "android.intent.category.APP_MAPS";
pub const CATEGORY_APP_MARKET : &'static str = "android.intent.category.APP_MARKET";
pub const CATEGORY_APP_MESSAGING : &'static str = "android.intent.category.APP_MESSAGING";
pub const CATEGORY_APP_MUSIC : &'static str = "android.intent.category.APP_MUSIC";
pub const CATEGORY_BROWSABLE : &'static str = "android.intent.category.BROWSABLE";
pub const CATEGORY_CAR_DOCK : &'static str = "android.intent.category.CAR_DOCK";
pub const CATEGORY_CAR_MODE : &'static str = "android.intent.category.CAR_MODE";
pub const CATEGORY_DEFAULT : &'static str = "android.intent.category.DEFAULT";
pub const CATEGORY_DESK_DOCK : &'static str = "android.intent.category.DESK_DOCK";
pub const CATEGORY_DEVELOPMENT_PREFERENCE : &'static str = "android.intent.category.DEVELOPMENT_PREFERENCE";
pub const CATEGORY_EMBED : &'static str = "android.intent.category.EMBED";
pub const CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST : &'static str = "android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST";
pub const CATEGORY_HE_DESK_DOCK : &'static str = "android.intent.category.HE_DESK_DOCK";
pub const CATEGORY_HOME : &'static str = "android.intent.category.HOME";
pub const CATEGORY_INFO : &'static str = "android.intent.category.INFO";
pub const CATEGORY_LAUNCHER : &'static str = "android.intent.category.LAUNCHER";
pub const CATEGORY_LEANBACK_LAUNCHER : &'static str = "android.intent.category.LEANBACK_LAUNCHER";
pub const CATEGORY_LE_DESK_DOCK : &'static str = "android.intent.category.LE_DESK_DOCK";
pub const CATEGORY_MONKEY : &'static str = "android.intent.category.MONKEY";
pub const CATEGORY_OPENABLE : &'static str = "android.intent.category.OPENABLE";
pub const CATEGORY_PREFERENCE : &'static str = "android.intent.category.PREFERENCE";
pub const CATEGORY_SAMPLE_CODE : &'static str = "android.intent.category.SAMPLE_CODE";
pub const CATEGORY_SELECTED_ALTERNATIVE : &'static str = "android.intent.category.SELECTED_ALTERNATIVE";
pub const CATEGORY_TAB : &'static str = "android.intent.category.TAB";
pub const CATEGORY_TEST : &'static str = "android.intent.category.TEST";
pub const CATEGORY_TYPED_OPENABLE : &'static str = "android.intent.category.TYPED_OPENABLE";
pub const CATEGORY_UNIT_TEST : &'static str = "android.intent.category.UNIT_TEST";
pub const CATEGORY_VOICE : &'static str = "android.intent.category.VOICE";
pub const CATEGORY_VR_HOME : &'static str = "android.intent.category.VR_HOME";
pub const EXTRA_ALARM_COUNT : &'static str = "android.intent.extra.ALARM_COUNT";
pub const EXTRA_ALLOW_MULTIPLE : &'static str = "android.intent.extra.ALLOW_MULTIPLE";
#[deprecated] pub const EXTRA_ALLOW_REPLACE : &'static str = "android.intent.extra.ALLOW_REPLACE";
pub const EXTRA_ALTERNATE_INTENTS : &'static str = "android.intent.extra.ALTERNATE_INTENTS";
pub const EXTRA_ASSIST_CONTEXT : &'static str = "android.intent.extra.ASSIST_CONTEXT";
pub const EXTRA_ASSIST_INPUT_DEVICE_ID : &'static str = "android.intent.extra.ASSIST_INPUT_DEVICE_ID";
pub const EXTRA_ASSIST_INPUT_HINT_KEYBOARD : &'static str = "android.intent.extra.ASSIST_INPUT_HINT_KEYBOARD";
pub const EXTRA_ASSIST_PACKAGE : &'static str = "android.intent.extra.ASSIST_PACKAGE";
pub const EXTRA_ASSIST_UID : &'static str = "android.intent.extra.ASSIST_UID";
pub const EXTRA_BCC : &'static str = "android.intent.extra.BCC";
pub const EXTRA_BUG_REPORT : &'static str = "android.intent.extra.BUG_REPORT";
pub const EXTRA_CC : &'static str = "android.intent.extra.CC";
#[deprecated] pub const EXTRA_CHANGED_COMPONENT_NAME : &'static str = "android.intent.extra.changed_component_name";
pub const EXTRA_CHANGED_COMPONENT_NAME_LIST : &'static str = "android.intent.extra.changed_component_name_list";
pub const EXTRA_CHANGED_PACKAGE_LIST : &'static str = "android.intent.extra.changed_package_list";
pub const EXTRA_CHANGED_UID_LIST : &'static str = "android.intent.extra.changed_uid_list";
pub const EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER : &'static str = "android.intent.extra.CHOOSER_REFINEMENT_INTENT_SENDER";
pub const EXTRA_CHOOSER_TARGETS : &'static str = "android.intent.extra.CHOOSER_TARGETS";
pub const EXTRA_CHOSEN_COMPONENT : &'static str = "android.intent.extra.CHOSEN_COMPONENT";
pub const EXTRA_CHOSEN_COMPONENT_INTENT_SENDER : &'static str = "android.intent.extra.CHOSEN_COMPONENT_INTENT_SENDER";
pub const EXTRA_COMPONENT_NAME : &'static str = "android.intent.extra.COMPONENT_NAME";
pub const EXTRA_CONTENT_ANNOTATIONS : &'static str = "android.intent.extra.CONTENT_ANNOTATIONS";
pub const EXTRA_DATA_REMOVED : &'static str = "android.intent.extra.DATA_REMOVED";
pub const EXTRA_DOCK_STATE : &'static str = "android.intent.extra.DOCK_STATE";
pub const EXTRA_DOCK_STATE_CAR : i32 = 2;
pub const EXTRA_DOCK_STATE_DESK : i32 = 1;
pub const EXTRA_DOCK_STATE_HE_DESK : i32 = 4;
pub const EXTRA_DOCK_STATE_LE_DESK : i32 = 3;
pub const EXTRA_DOCK_STATE_UNDOCKED : i32 = 0;
pub const EXTRA_DONT_KILL_APP : &'static str = "android.intent.extra.DONT_KILL_APP";
pub const EXTRA_EMAIL : &'static str = "android.intent.extra.EMAIL";
pub const EXTRA_EXCLUDE_COMPONENTS : &'static str = "android.intent.extra.EXCLUDE_COMPONENTS";
pub const EXTRA_FROM_STORAGE : &'static str = "android.intent.extra.FROM_STORAGE";
pub const EXTRA_HTML_TEXT : &'static str = "android.intent.extra.HTML_TEXT";
pub const EXTRA_INDEX : &'static str = "android.intent.extra.INDEX";
pub const EXTRA_INITIAL_INTENTS : &'static str = "android.intent.extra.INITIAL_INTENTS";
pub const EXTRA_INSTALLER_PACKAGE_NAME : &'static str = "android.intent.extra.INSTALLER_PACKAGE_NAME";
pub const EXTRA_INTENT : &'static str = "android.intent.extra.INTENT";
pub const EXTRA_KEY_EVENT : &'static str = "android.intent.extra.KEY_EVENT";
pub const EXTRA_LOCAL_ONLY : &'static str = "android.intent.extra.LOCAL_ONLY";
pub const EXTRA_MIME_TYPES : &'static str = "android.intent.extra.MIME_TYPES";
pub const EXTRA_NOT_UNKNOWN_SOURCE : &'static str = "android.intent.extra.NOT_UNKNOWN_SOURCE";
pub const EXTRA_ORIGINATING_URI : &'static str = "android.intent.extra.ORIGINATING_URI";
pub const EXTRA_PACKAGE_NAME : &'static str = "android.intent.extra.PACKAGE_NAME";
pub const EXTRA_PHONE_NUMBER : &'static str = "android.intent.extra.PHONE_NUMBER";
pub const EXTRA_PROCESS_TEXT : &'static str = "android.intent.extra.PROCESS_TEXT";
pub const EXTRA_PROCESS_TEXT_READONLY : &'static str = "android.intent.extra.PROCESS_TEXT_READONLY";
pub const EXTRA_QUICK_VIEW_FEATURES : &'static str = "android.intent.extra.QUICK_VIEW_FEATURES";
pub const EXTRA_QUIET_MODE : &'static str = "android.intent.extra.QUIET_MODE";
pub const EXTRA_REFERRER : &'static str = "android.intent.extra.REFERRER";
pub const EXTRA_REFERRER_NAME : &'static str = "android.intent.extra.REFERRER_NAME";
pub const EXTRA_REMOTE_INTENT_TOKEN : &'static str = "android.intent.extra.remote_intent_token";
pub const EXTRA_REPLACEMENT_EXTRAS : &'static str = "android.intent.extra.REPLACEMENT_EXTRAS";
pub const EXTRA_REPLACING : &'static str = "android.intent.extra.REPLACING";
pub const EXTRA_RESTRICTIONS_BUNDLE : &'static str = "android.intent.extra.restrictions_bundle";
pub const EXTRA_RESTRICTIONS_INTENT : &'static str = "android.intent.extra.restrictions_intent";
pub const EXTRA_RESTRICTIONS_LIST : &'static str = "android.intent.extra.restrictions_list";
pub const EXTRA_RESULT_RECEIVER : &'static str = "android.intent.extra.RESULT_RECEIVER";
pub const EXTRA_RETURN_RESULT : &'static str = "android.intent.extra.RETURN_RESULT";
#[deprecated] pub const EXTRA_SHORTCUT_ICON : &'static str = "android.intent.extra.shortcut.ICON";
#[deprecated] pub const EXTRA_SHORTCUT_ICON_RESOURCE : &'static str = "android.intent.extra.shortcut.ICON_RESOURCE";
#[deprecated] pub const EXTRA_SHORTCUT_INTENT : &'static str = "android.intent.extra.shortcut.INTENT";
#[deprecated] pub const EXTRA_SHORTCUT_NAME : &'static str = "android.intent.extra.shortcut.NAME";
pub const EXTRA_SHUTDOWN_USERSPACE_ONLY : &'static str = "android.intent.extra.SHUTDOWN_USERSPACE_ONLY";
pub const EXTRA_SPLIT_NAME : &'static str = "android.intent.extra.SPLIT_NAME";
pub const EXTRA_STREAM : &'static str = "android.intent.extra.STREAM";
pub const EXTRA_SUBJECT : &'static str = "android.intent.extra.SUBJECT";
pub const EXTRA_SUSPENDED_PACKAGE_EXTRAS : &'static str = "android.intent.extra.SUSPENDED_PACKAGE_EXTRAS";
pub const EXTRA_TEMPLATE : &'static str = "android.intent.extra.TEMPLATE";
pub const EXTRA_TEXT : &'static str = "android.intent.extra.TEXT";
pub const EXTRA_TITLE : &'static str = "android.intent.extra.TITLE";
pub const EXTRA_UID : &'static str = "android.intent.extra.UID";
pub const EXTRA_USER : &'static str = "android.intent.extra.USER";
pub const FILL_IN_ACTION : i32 = 1;
pub const FILL_IN_CATEGORIES : i32 = 4;
pub const FILL_IN_CLIP_DATA : i32 = 128;
pub const FILL_IN_COMPONENT : i32 = 8;
pub const FILL_IN_DATA : i32 = 2;
pub const FILL_IN_PACKAGE : i32 = 16;
pub const FILL_IN_SELECTOR : i32 = 64;
pub const FILL_IN_SOURCE_BOUNDS : i32 = 32;
pub const FLAG_ACTIVITY_BROUGHT_TO_FRONT : i32 = 4194304;
pub const FLAG_ACTIVITY_CLEAR_TASK : i32 = 32768;
pub const FLAG_ACTIVITY_CLEAR_TOP : i32 = 67108864;
#[deprecated] pub const FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET : i32 = 524288;
pub const FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS : i32 = 8388608;
pub const FLAG_ACTIVITY_FORWARD_RESULT : i32 = 33554432;
pub const FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY : i32 = 1048576;
pub const FLAG_ACTIVITY_LAUNCH_ADJACENT : i32 = 4096;
pub const FLAG_ACTIVITY_MATCH_EXTERNAL : i32 = 2048;
pub const FLAG_ACTIVITY_MULTIPLE_TASK : i32 = 134217728;
pub const FLAG_ACTIVITY_NEW_DOCUMENT : i32 = 524288;
pub const FLAG_ACTIVITY_NEW_TASK : i32 = 268435456;
pub const FLAG_ACTIVITY_NO_ANIMATION : i32 = 65536;
pub const FLAG_ACTIVITY_NO_HISTORY : i32 = 1073741824;
pub const FLAG_ACTIVITY_NO_USER_ACTION : i32 = 262144;
pub const FLAG_ACTIVITY_PREVIOUS_IS_TOP : i32 = 16777216;
pub const FLAG_ACTIVITY_REORDER_TO_FRONT : i32 = 131072;
pub const FLAG_ACTIVITY_RESET_TASK_IF_NEEDED : i32 = 2097152;
pub const FLAG_ACTIVITY_RETAIN_IN_RECENTS : i32 = 8192;
pub const FLAG_ACTIVITY_SINGLE_TOP : i32 = 536870912;
pub const FLAG_ACTIVITY_TASK_ON_HOME : i32 = 16384;
pub const FLAG_DEBUG_LOG_RESOLUTION : i32 = 8;
pub const FLAG_EXCLUDE_STOPPED_PACKAGES : i32 = 16;
pub const FLAG_FROM_BACKGROUND : i32 = 4;
pub const FLAG_GRANT_PERSISTABLE_URI_PERMISSION : i32 = 64;
pub const FLAG_GRANT_PREFIX_URI_PERMISSION : i32 = 128;
pub const FLAG_GRANT_READ_URI_PERMISSION : i32 = 1;
pub const FLAG_GRANT_WRITE_URI_PERMISSION : i32 = 2;
pub const FLAG_INCLUDE_STOPPED_PACKAGES : i32 = 32;
pub const FLAG_RECEIVER_FOREGROUND : i32 = 268435456;
pub const FLAG_RECEIVER_NO_ABORT : i32 = 134217728;
pub const FLAG_RECEIVER_REGISTERED_ONLY : i32 = 1073741824;
pub const FLAG_RECEIVER_REPLACE_PENDING : i32 = 536870912;
pub const FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS : i32 = 2097152;
pub const METADATA_DOCK_HOME : &'static str = "android.dock_home";
pub const URI_ALLOW_UNSAFE : i32 = 4;
pub const URI_ANDROID_APP_SCHEME : i32 = 2;
pub const URI_INTENT_SCHEME : i32 = 1;
}
}