[−]Struct jni_android_sys::android::content::pm::InstrumentationInfo
public class InstrumentationInfo
Required feature: android-content-pm-InstrumentationInfo
Methods
impl InstrumentationInfo
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, InstrumentationInfo>>[src]
__jni_env: &'env Env
) -> Result<Local<'env, InstrumentationInfo>>
pub fn new_instrumentation_info<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env InstrumentationInfo>>
) -> Result<Local<'env, InstrumentationInfo>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env InstrumentationInfo>>
) -> Result<Local<'env, InstrumentationInfo>>
Required features: "android-content-pm-InstrumentationInfo"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
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]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>
Required features: "android-os-Parcel"
pub fn functional_test<'env>(&'env self) -> bool[src]
get public functionalTest
pub fn set_functional_test<'env>(&'env self, value: bool)[src]
set public functionalTest
pub fn handle_profiling<'env>(&'env self) -> bool[src]
get public handleProfiling
pub fn set_handle_profiling<'env>(&'env self, value: bool)[src]
set public handleProfiling
Methods from Deref<Target = PackageItemInfo>
pub fn load_label<'env>(
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, CharSequence>>>[src]
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, CharSequence>>>
Required features: "android-content-pm-PackageManager", "java-lang-CharSequence"
pub fn load_icon<'env>(
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-pm-PackageManager", "android-graphics-drawable-Drawable"
pub fn load_unbadged_icon<'env>(
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-pm-PackageManager", "android-graphics-drawable-Drawable"
pub fn load_banner<'env>(
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-pm-PackageManager", "android-graphics-drawable-Drawable"
pub fn load_logo<'env>(
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, Drawable>>>[src]
&'env self,
arg0: impl Into<Option<&'env PackageManager>>
) -> Result<Option<Local<'env, Drawable>>>
Required features: "android-content-pm-PackageManager", "android-graphics-drawable-Drawable"
pub fn load_xml_meta_data<'env>(
&'env self,
arg0: impl Into<Option<&'env PackageManager>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, XmlResourceParser>>>[src]
&'env self,
arg0: impl Into<Option<&'env PackageManager>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, XmlResourceParser>>>
Required features: "android-content-pm-PackageManager", "android-content-res-XmlResourceParser", "java-lang-String"
pub fn write_to_parcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>
Required features: "android-os-Parcel"
pub fn banner<'env>(&'env self) -> i32[src]
get public banner
pub fn set_banner<'env>(&'env self, value: i32)[src]
set public banner
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 label_res<'env>(&'env self) -> i32[src]
get public labelRes
pub fn set_label_res<'env>(&'env self, value: i32)[src]
set public labelRes
pub fn logo<'env>(&'env self) -> i32[src]
get public logo
pub fn set_logo<'env>(&'env self, value: i32)[src]
set public logo
Trait Implementations
impl AsRef<Parcelable> for InstrumentationInfo
fn as_ref(&self) -> &Parcelable
impl Deref for InstrumentationInfo
type Target = PackageItemInfo
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl AsValidJObjectAndEnv for InstrumentationInfo
impl AsJValue for InstrumentationInfo
Auto Trait Implementations
impl !Sync for InstrumentationInfo
impl Unpin for InstrumentationInfo
impl !Send for InstrumentationInfo
impl UnwindSafe for InstrumentationInfo
impl RefUnwindSafe for InstrumentationInfo
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,