[−]Struct jni_android_sys::android::app::usage::UsageEvents_Event
public final class UsageEvents.Event
Required feature: "android-app-usage-UsageEvents_Event"
Methods
impl UsageEvents_Event
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, UsageEvents_Event>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, UsageEvents_Event>, Local<'env, Throwable>>
pub fn getPackageName<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getClassName<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getTimeStamp<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn getEventType<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getConfiguration<'env>(
&'env self
) -> Result<Option<Local<'env, Configuration>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Configuration>>, Local<'env, Throwable>>
Required features: "android-content-res-Configuration"
pub fn getShortcutId<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getAppStandbyBucket<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub const CONFIGURATION_CHANGE: i32
[src]
public static final CONFIGURATION_CHANGE
pub const KEYGUARD_HIDDEN: i32
[src]
public static final KEYGUARD_HIDDEN
pub const KEYGUARD_SHOWN: i32
[src]
public static final KEYGUARD_SHOWN
pub const MOVE_TO_BACKGROUND: i32
[src]
public static final MOVE_TO_BACKGROUND
pub const MOVE_TO_FOREGROUND: i32
[src]
public static final MOVE_TO_FOREGROUND
pub const NONE: i32
[src]
public static final NONE
pub const SCREEN_INTERACTIVE: i32
[src]
public static final SCREEN_INTERACTIVE
pub const SCREEN_NON_INTERACTIVE: i32
[src]
public static final SCREEN_NON_INTERACTIVE
pub const SHORTCUT_INVOCATION: i32
[src]
public static final SHORTCUT_INVOCATION
pub const STANDBY_BUCKET_CHANGED: i32
[src]
public static final STANDBY_BUCKET_CHANGED
pub const USER_INTERACTION: i32
[src]
public static final USER_INTERACTION
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for UsageEvents_Event
impl AsValidJObjectAndEnv for UsageEvents_Event
impl Deref for UsageEvents_Event
impl JniType for UsageEvents_Event
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for UsageEvents_Event
impl !Send for UsageEvents_Event
impl !Sync for UsageEvents_Event
impl Unpin for UsageEvents_Event
impl UnwindSafe for UsageEvents_Event
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,