[−]Struct jni_android_sys::android::app::PendingIntent
public final class PendingIntent
Required feature: android-app-PendingIntent
Methods
impl PendingIntent
pub fn get_activity_context_int_intent_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32
) -> Result<Option<Local<'env, PendingIntent>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32
) -> Result<Option<Local<'env, PendingIntent>>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent"
pub fn get_activity_context_int_intent_int_bundle<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32,
arg4: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, PendingIntent>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32,
arg4: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, PendingIntent>>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent", "android-os-Bundle"
pub fn get_broadcast<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32
) -> Result<Option<Local<'env, PendingIntent>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32
) -> Result<Option<Local<'env, PendingIntent>>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent"
pub fn get_service<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32
) -> Result<Option<Local<'env, PendingIntent>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32
) -> Result<Option<Local<'env, PendingIntent>>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent"
pub fn get_foreground_service<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32
) -> Result<Option<Local<'env, PendingIntent>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: i32
) -> Result<Option<Local<'env, PendingIntent>>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent"
pub fn get_intent_sender<'env>(
&'env self
) -> Result<Option<Local<'env, IntentSender>>>[src]
&'env self
) -> Result<Option<Local<'env, IntentSender>>>
Required features: "android-content-IntentSender"
pub fn cancel<'env>(&'env self) -> Result<()>[src]
pub fn send<'env>(&'env self) -> Result<()>[src]
pub fn send_int<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn send_context_int_intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<()>
Required features: "android-content-Context", "android-content-Intent"
pub fn send_int_on_finished_handler<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent_OnFinished>>,
arg2: impl Into<Option<&'env Handler>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent_OnFinished>>,
arg2: impl Into<Option<&'env Handler>>
) -> Result<()>
Required features: "android-app-PendingIntent_OnFinished", "android-os-Handler"
pub fn send_context_int_intent_on_finished_handler<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: impl Into<Option<&'env PendingIntent_OnFinished>>,
arg4: impl Into<Option<&'env Handler>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: impl Into<Option<&'env PendingIntent_OnFinished>>,
arg4: impl Into<Option<&'env Handler>>
) -> Result<()>
Required features: "android-app-PendingIntent_OnFinished", "android-content-Context", "android-content-Intent", "android-os-Handler"
pub fn send_context_int_intent_on_finished_handler_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: impl Into<Option<&'env PendingIntent_OnFinished>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: impl Into<Option<&'env PendingIntent_OnFinished>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "android-app-PendingIntent_OnFinished", "android-content-Context", "android-content-Intent", "android-os-Handler", "java-lang-String"
pub fn send_context_int_intent_on_finished_handler_string_bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: impl Into<Option<&'env PendingIntent_OnFinished>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>,
arg3: impl Into<Option<&'env PendingIntent_OnFinished>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<()>
Required features: "android-app-PendingIntent_OnFinished", "android-content-Context", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn get_target_package<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_creator_package<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_creator_uid<'env>(&'env self) -> Result<i32>[src]
pub fn get_creator_user_handle<'env>(
&'env self
) -> Result<Option<Local<'env, UserHandle>>>[src]
&'env self
) -> Result<Option<Local<'env, UserHandle>>>
Required features: "android-os-UserHandle"
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn describe_contents<'env>(&'env self) -> Result<i32>[src]
pub fn write_to_parcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>
Required features: "android-os-Parcel"
pub fn write_pending_intent_or_null_to_parcel<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PendingIntent>>,
arg1: impl Into<Option<&'env Parcel>>
) -> Result<()>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PendingIntent>>,
arg1: impl Into<Option<&'env Parcel>>
) -> Result<()>
writePendingIntentOrNullToParcel
Required features: "android-app-PendingIntent", "android-os-Parcel"
pub fn read_pending_intent_or_null_from_parcel<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Option<Local<'env, PendingIntent>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Option<Local<'env, PendingIntent>>>
readPendingIntentOrNullFromParcel
Required features: "android-app-PendingIntent", "android-os-Parcel"
pub const FLAG_CANCEL_CURRENT: i32[src]
public static final FLAG_CANCEL_CURRENT
pub const FLAG_IMMUTABLE: i32[src]
public static final FLAG_IMMUTABLE
pub const FLAG_NO_CREATE: i32[src]
public static final FLAG_NO_CREATE
pub const FLAG_ONE_SHOT: i32[src]
public static final FLAG_ONE_SHOT
pub const FLAG_UPDATE_CURRENT: i32[src]
public static final FLAG_UPDATE_CURRENT
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
impl AsRef<Parcelable> for PendingIntent
fn as_ref(&self) -> &Parcelable
impl Deref for PendingIntent
impl AsValidJObjectAndEnv for PendingIntent
impl AsJValue for PendingIntent
Auto Trait Implementations
impl !Sync for PendingIntent
impl Unpin for PendingIntent
impl !Send for PendingIntent
impl UnwindSafe for PendingIntent
impl RefUnwindSafe for PendingIntent
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,