[]Struct jni_android_sys::android::content::pm::ResolveInfo

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

public class ResolveInfo

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

Methods

impl ResolveInfo

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

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

ResolveInfo

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

pub fn loadLabel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

loadLabel

Required features: "android-content-pm-PackageManager", "java-lang-CharSequence"

pub fn loadIcon<'env>(
    &'env self,
    arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]

loadIcon

Required features: "android-content-pm-PackageManager", "android-graphics-drawable-Drawable"

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

pub fn dump<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Printer>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

dump

Required features: "android-util-Printer", "java-lang-String"

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 CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

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

get public activityInfo

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

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

set public activityInfo

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

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

get public filter

Required feature: "android-content-IntentFilter"

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

set public filter

Required feature: "android-content-IntentFilter"

pub fn icon<'env>(&'env self) -> i32[src]

get public icon

pub fn set_icon<'env>(&'env self, value: i32)[src]

set public icon

pub fn isDefault<'env>(&'env self) -> bool[src]

get public isDefault

pub fn set_isDefault<'env>(&'env self, value: bool)[src]

set public isDefault

pub fn isInstantAppAvailable<'env>(&'env self) -> bool[src]

pub fn set_isInstantAppAvailable<'env>(&'env self, value: bool)[src]

pub fn labelRes<'env>(&'env self) -> i32[src]

get public labelRes

pub fn set_labelRes<'env>(&'env self, value: i32)[src]

set public labelRes

pub fn match<'env>(&'env self) -> i32[src]

get public match

pub fn set_match<'env>(&'env self, value: i32)[src]

set public match

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

get public nonLocalizedLabel

Required feature: "java-lang-CharSequence"

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

set public nonLocalizedLabel

Required feature: "java-lang-CharSequence"

pub fn preferredOrder<'env>(&'env self) -> i32[src]

get public preferredOrder

pub fn set_preferredOrder<'env>(&'env self, value: i32)[src]

set public preferredOrder

pub fn priority<'env>(&'env self) -> i32[src]

get public priority

pub fn set_priority<'env>(&'env self, value: i32)[src]

set public priority

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

get public providerInfo

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

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

set public providerInfo

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

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

get public resolvePackageName

Required feature: "java-lang-String"

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

set public resolvePackageName

Required feature: "java-lang-String"

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

get public serviceInfo

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

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

set public serviceInfo

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

pub fn specificIndex<'env>(&'env self) -> i32[src]

get public specificIndex

pub fn set_specificIndex<'env>(&'env self, value: i32)[src]

set public specificIndex

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 ResolveInfo

impl AsRef<Parcelable> for ResolveInfo

impl AsValidJObjectAndEnv for ResolveInfo

impl Deref for ResolveInfo

type Target = Object

The resulting type after dereferencing.

impl JniType for ResolveInfo

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.