[−]Struct jni_android_sys::android::content::pm::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]
__jni_env: &'env Env
) -> Result<Local<'env, ResolveInfo>, Local<'env, Throwable>>
pub fn new_ResolveInfo<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ResolveInfo>>
) -> Result<Local<'env, ResolveInfo>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ResolveInfo>>
) -> Result<Local<'env, ResolveInfo>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Printer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-util-Printer", "java-lang-String"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
value: impl Into<Option<&'obj ActivityInfo>>
)
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]
&'env self,
value: impl Into<Option<&'obj IntentFilter>>
)
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]
get public isInstantAppAvailable
pub fn set_isInstantAppAvailable<'env>(&'env self, value: bool)
[src]
set public isInstantAppAvailable
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]
&'env self,
value: impl Into<Option<&'obj CharSequence>>
)
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]
&'env self,
value: impl Into<Option<&'obj ProviderInfo>>
)
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]
&'env self,
value: impl Into<Option<&'obj String>>
)
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]
&'env self,
value: impl Into<Option<&'obj ServiceInfo>>
)
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for ResolveInfo
impl AsRef<Parcelable> for ResolveInfo
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for ResolveInfo
impl Deref for ResolveInfo
impl JniType for ResolveInfo
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ResolveInfo
impl !Send for ResolveInfo
impl !Sync for ResolveInfo
impl Unpin for ResolveInfo
impl UnwindSafe for ResolveInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,