[]Struct jni_android_sys::android::content::IntentSender

#[repr(transparent)]
pub struct IntentSender(_);

public class IntentSender

Required feature: "android-content-IntentSender"

Methods

impl IntentSender

pub fn sendIntent_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 IntentSender_OnFinished>>,
    arg4: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

sendIntent

Required features: "android-content-Context", "android-content-Intent", "android-content-IntentSender_OnFinished", "android-os-Handler"

pub fn sendIntent_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 IntentSender_OnFinished>>,
    arg4: impl Into<Option<&'env Handler>>,
    arg5: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

sendIntent

Required features: "android-content-Context", "android-content-Intent", "android-content-IntentSender_OnFinished", "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 writeIntentSenderOrNullToParcel<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env IntentSender>>,
    arg1: impl Into<Option<&'env Parcel>>
) -> Result<(), Local<'env, Throwable>>
[src]

writeIntentSenderOrNullToParcel

Required features: "android-content-IntentSender", "android-os-Parcel"

pub fn readIntentSenderOrNullFromParcel<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Parcel>>
) -> Result<Option<Local<'env, IntentSender>>, Local<'env, Throwable>>
[src]

readIntentSenderOrNullFromParcel

Required features: "android-content-IntentSender", "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"

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 IntentSender

impl AsRef<Parcelable> for IntentSender

impl AsValidJObjectAndEnv for IntentSender

impl Deref for IntentSender

type Target = Object

The resulting type after dereferencing.

impl JniType for IntentSender

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.