[−]Struct jni_android_sys::android::app::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>>[src]
__jni_env: &'env Env
) -> Result<Local<'env, ActivityManager_RunningAppProcessInfo>>
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 read_from_parcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>
) -> Result<()>
Required features: "android-os-Parcel"
pub const IMPORTANCE_BACKGROUND: i32[src]
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]
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]
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 importance_reason_code<'env>(&'env self) -> i32[src]
get public importanceReasonCode
pub fn set_importance_reason_code<'env>(&'env self, value: i32)[src]
set public importanceReasonCode
pub fn importance_reason_pid<'env>(&'env self) -> i32[src]
get public importanceReasonPid
pub fn set_importance_reason_pid<'env>(&'env self, value: i32)[src]
set public importanceReasonPid
pub fn last_trim_level<'env>(&'env self) -> i32[src]
get public lastTrimLevel
pub fn set_last_trim_level<'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 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 get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
impl AsRef<Parcelable> for ActivityManager_RunningAppProcessInfo
fn as_ref(&self) -> &Parcelable
impl Deref for ActivityManager_RunningAppProcessInfo
impl AsValidJObjectAndEnv for ActivityManager_RunningAppProcessInfo
impl AsJValue for ActivityManager_RunningAppProcessInfo
Auto Trait Implementations
impl !Sync for ActivityManager_RunningAppProcessInfo
impl Unpin for ActivityManager_RunningAppProcessInfo
impl !Send for ActivityManager_RunningAppProcessInfo
impl UnwindSafe for ActivityManager_RunningAppProcessInfo
impl RefUnwindSafe for ActivityManager_RunningAppProcessInfo
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,