[]Struct jni_android_sys::android::app::LauncherActivity_ListItem

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

public class LauncherActivity.ListItem

Required feature: "android-app-LauncherActivity_ListItem"

Methods

impl LauncherActivity_ListItem

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, LauncherActivity_ListItem>, Local<'env, Throwable>>
[src]

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

get public className

Required feature: "java-lang-String"

pub fn set_className<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj String>>
)
[src]

set public className

Required feature: "java-lang-String"

pub fn extras<'env>(&'env self) -> Option<Local<'env, Bundle>>[src]

get public extras

Required feature: "android-os-Bundle"

pub fn set_extras<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj Bundle>>
)
[src]

set public extras

Required feature: "android-os-Bundle"

pub fn icon<'env>(&'env self) -> Option<Local<'env, Drawable>>[src]

get public icon

Required feature: "android-graphics-drawable-Drawable"

pub fn set_icon<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj Drawable>>
)
[src]

set public icon

Required feature: "android-graphics-drawable-Drawable"

pub fn label<'env>(&'env self) -> Option<Local<'env, CharSequence>>[src]

get public label

Required feature: "java-lang-CharSequence"

pub fn set_label<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj CharSequence>>
)
[src]

set public label

Required feature: "java-lang-CharSequence"

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

get public packageName

Required feature: "java-lang-String"

pub fn set_packageName<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj String>>
)
[src]

set public packageName

Required feature: "java-lang-String"

pub fn resolveInfo<'env>(&'env self) -> Option<Local<'env, ResolveInfo>>[src]

get public resolveInfo

Required feature: "android-content-pm-ResolveInfo"

pub fn set_resolveInfo<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj ResolveInfo>>
)
[src]

set public resolveInfo

Required feature: "android-content-pm-ResolveInfo"

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 LauncherActivity_ListItem

impl AsValidJObjectAndEnv for LauncherActivity_ListItem

impl Deref for LauncherActivity_ListItem

type Target = Object

The resulting type after dereferencing.

impl JniType for LauncherActivity_ListItem

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.