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

#[repr(transparent)]
pub struct 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]

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

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

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

toString

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]

writeToParcel

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]

loadLabel

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]

loadIcon

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]

loadUnbadgedIcon

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]

loadBanner

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

loadLogo

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]

loadXmlMetaData

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]

writeToParcel

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

get public logo

set public logo

Trait Implementations

impl AsRef<Parcelable> for InstrumentationInfo

impl Deref for InstrumentationInfo

type Target = PackageItemInfo

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for InstrumentationInfo

impl AsJValue for InstrumentationInfo

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]