[]Struct jni_android_sys::android::app::PendingIntent

#[repr(transparent)]
pub struct 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]

getActivity

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]

getActivity

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]

getActivities

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]

getActivities

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]

getBroadcast

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]

getService

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]

getForegroundService

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]

getIntentSender

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]

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]

send

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]

send

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]

send

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]

send

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]

send

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]

Deprecated

getTargetPackage

Required features: "java-lang-String"

pub fn getCreatorPackage<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getCreatorPackage

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]

getCreatorUserHandle

Required features: "android-os-UserHandle"

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

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]

toString

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]

writeToParcel

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]

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]

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]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for PendingIntent

impl AsRef<Parcelable> for PendingIntent

impl AsValidJObjectAndEnv for PendingIntent

impl Deref for PendingIntent

type Target = Object

The resulting type after dereferencing.

impl JniType for PendingIntent

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.