[]Struct jni_android_sys::android::app::ActivityManager_RunningAppProcessInfo

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

public class ActivityManager.RunningAppProcessInfo

Required feature: "android-app-ActivityManager_RunningAppProcessInfo"

Methods

impl ActivityManager_RunningAppProcessInfo

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

pub fn new_String_int_String_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: i32,
    arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Local<'env, ActivityManager_RunningAppProcessInfo>, Local<'env, Throwable>>
[src]

RunningAppProcessInfo

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 readFromParcel<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcel>>
) -> Result<(), Local<'env, Throwable>>
[src]

readFromParcel

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 const IMPORTANCE_BACKGROUND: i32[src]

Deprecated

public static final IMPORTANCE_BACKGROUND

pub const IMPORTANCE_CACHED: i32[src]

public static final IMPORTANCE_CACHED

pub const IMPORTANCE_CANT_SAVE_STATE: i32[src]

public static final IMPORTANCE_CANT_SAVE_STATE

pub const IMPORTANCE_EMPTY: i32[src]

Deprecated

public static final IMPORTANCE_EMPTY

pub const IMPORTANCE_FOREGROUND: i32[src]

public static final IMPORTANCE_FOREGROUND

pub const IMPORTANCE_FOREGROUND_SERVICE: i32[src]

public static final IMPORTANCE_FOREGROUND_SERVICE

pub const IMPORTANCE_GONE: i32[src]

public static final IMPORTANCE_GONE

pub const IMPORTANCE_PERCEPTIBLE: i32[src]

public static final IMPORTANCE_PERCEPTIBLE

pub const IMPORTANCE_PERCEPTIBLE_PRE_26: i32[src]

public static final IMPORTANCE_PERCEPTIBLE_PRE_26

pub const IMPORTANCE_SERVICE: i32[src]

public static final IMPORTANCE_SERVICE

pub const IMPORTANCE_TOP_SLEEPING: i32[src]

public static final IMPORTANCE_TOP_SLEEPING

pub const IMPORTANCE_TOP_SLEEPING_PRE_28: i32[src]

Deprecated

public static final IMPORTANCE_TOP_SLEEPING_PRE_28

pub const IMPORTANCE_VISIBLE: i32[src]

public static final IMPORTANCE_VISIBLE

pub const REASON_PROVIDER_IN_USE: i32[src]

public static final REASON_PROVIDER_IN_USE

pub const REASON_SERVICE_IN_USE: i32[src]

public static final REASON_SERVICE_IN_USE

pub const REASON_UNKNOWN: i32[src]

public static final REASON_UNKNOWN

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

get public importance

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

set public importance

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

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

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

get public importanceReasonComponent

Required feature: "android-content-ComponentName"

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

set public importanceReasonComponent

Required feature: "android-content-ComponentName"

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

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

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

get public lastTrimLevel

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

set public lastTrimLevel

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

get public lru

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

set public lru

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

get public pid

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

set public pid

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

get public pkgList

Required feature: "java-lang-String"

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

set public pkgList

Required feature: "java-lang-String"

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

get public processName

Required feature: "java-lang-String"

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

set public processName

Required feature: "java-lang-String"

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

get public uid

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

set public uid

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 ActivityManager_RunningAppProcessInfo

impl AsRef<Parcelable> for ActivityManager_RunningAppProcessInfo

impl AsValidJObjectAndEnv for ActivityManager_RunningAppProcessInfo

impl Deref for ActivityManager_RunningAppProcessInfo

type Target = Object

The resulting type after dereferencing.

impl JniType for ActivityManager_RunningAppProcessInfo

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.