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

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

public class PackageInstaller.SessionInfo

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

Methods

impl PackageInstaller_SessionInfo

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

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

getInstallerPackageName

Required features: "java-lang-String"

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

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

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

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

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

getAppPackageName

Required features: "java-lang-String"

pub fn getAppIcon<'env>(
    &'env self
) -> Result<Option<Local<'env, Bitmap>>, Local<'env, Throwable>>
[src]

getAppIcon

Required features: "android-graphics-Bitmap"

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

getAppLabel

Required features: "java-lang-CharSequence"

pub fn createDetailsIntent<'env>(
    &'env self
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]

createDetailsIntent

Required features: "android-content-Intent"

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

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

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

pub fn getOriginatingUri<'env>(
    &'env self
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

getOriginatingUri

Required features: "android-net-Uri"

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

pub fn getReferrerUri<'env>(
    &'env self
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

getReferrerUri

Required features: "android-net-Uri"

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"

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 PackageInstaller_SessionInfo

impl AsRef<Parcelable> for PackageInstaller_SessionInfo

impl AsValidJObjectAndEnv for PackageInstaller_SessionInfo

impl Deref for PackageInstaller_SessionInfo

type Target = Object

The resulting type after dereferencing.

impl JniType for PackageInstaller_SessionInfo

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.