[]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 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]

getActivity

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]

getActivity

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]

getBroadcast

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]

getService

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]

getForegroundService

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]

getIntentSender

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]

send

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]

send

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]

send

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]

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_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]

send

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]

Deprecated

getTargetPackage

Required features: "java-lang-String"

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

getCreatorPackage

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]

getCreatorUserHandle

Required features: "android-os-UserHandle"

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

equals

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]

toString

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]

writeToParcel

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]

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]

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]

getClass

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]

equals

Required features: "java-lang-Object"

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

toString

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

impl Deref for PendingIntent

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for PendingIntent

impl AsJValue for PendingIntent

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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