[−]Struct jni_android_sys::android::app::PendingIntent
public final class PendingIntent
Required feature: "android-app-PendingIntent"
Methods
impl PendingIntent
pub fn getActivity_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>>, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent"
pub fn getActivity_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>>, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent", "android-os-Bundle"
pub fn getActivities_Context_int_Intent_array_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>,
arg3: i32
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>,
arg3: i32
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent"
pub fn getActivities_Context_int_Intent_array_int_Bundle<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>,
arg3: i32,
arg4: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>,
arg3: i32,
arg4: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent", "android-os-Bundle"
pub fn getBroadcast<'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>>, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent"
pub fn getService<'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>>, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent"
pub fn getForegroundService<'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>>, Local<'env, Throwable>>
[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>>, Local<'env, Throwable>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-content-Intent"
pub fn getIntentSender<'env>(
&'env self
) -> Result<Option<Local<'env, IntentSender>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, IntentSender>>, Local<'env, Throwable>>
Required features: "android-content-IntentSender"
pub fn cancel<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn send<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn send_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn send_Context_int_Intent<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Context", "android-content-Intent"
pub fn send_int_OnFinished_Handler<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent_OnFinished>>,
arg2: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env PendingIntent_OnFinished>>,
arg2: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-PendingIntent_OnFinished", "android-os-Handler"
pub fn send_Context_int_Intent_OnFinished_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<(), Local<'env, Throwable>>
[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<(), Local<'env, Throwable>>
Required features: "android-app-PendingIntent_OnFinished", "android-content-Context", "android-content-Intent", "android-os-Handler"
pub fn send_Context_int_Intent_OnFinished_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<(), Local<'env, Throwable>>
[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<(), Local<'env, Throwable>>
Required features: "android-app-PendingIntent_OnFinished", "android-content-Context", "android-content-Intent", "android-os-Handler", "java-lang-String"
pub fn send_Context_int_Intent_OnFinished_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<(), Local<'env, Throwable>>
[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<(), Local<'env, Throwable>>
Required features: "android-app-PendingIntent_OnFinished", "android-content-Context", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn getTargetPackage<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getCreatorPackage<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getCreatorUid<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getCreatorUserHandle<'env>(
&'env self
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, UserHandle>>, Local<'env, Throwable>>
Required features: "android-os-UserHandle"
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn describeContents<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn writeToParcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcel"
pub fn writePendingIntentOrNullToParcel<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PendingIntent>>,
arg1: impl Into<Option<&'env Parcel>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env PendingIntent>>,
arg1: impl Into<Option<&'env Parcel>>
) -> Result<(), Local<'env, Throwable>>
writePendingIntentOrNullToParcel
Required features: "android-app-PendingIntent", "android-os-Parcel"
pub fn readPendingIntentOrNullFromParcel<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<Option<Local<'env, PendingIntent>>, Local<'env, Throwable>>
readPendingIntentOrNullFromParcel
Required features: "android-app-PendingIntent", "android-os-Parcel"
pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>
[src]
get public static final CREATOR
Required feature: "android-os-Parcelable_Creator"
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 getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for PendingIntent
impl AsRef<Parcelable> for PendingIntent
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for PendingIntent
impl Deref for PendingIntent
impl JniType for PendingIntent
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for PendingIntent
impl !Send for PendingIntent
impl !Sync for PendingIntent
impl Unpin for PendingIntent
impl UnwindSafe for PendingIntent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,