[]Struct jni_android_sys::android::app::usage::UsageEvents_Event

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

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

getPackageName

Required features: "java-lang-String"

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

getClassName

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]

getConfiguration

Required features: "android-content-res-Configuration"

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

getShortcutId

Required features: "java-lang-String"

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

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]

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 UsageEvents_Event

impl AsValidJObjectAndEnv for UsageEvents_Event

impl Deref for UsageEvents_Event

type Target = Object

The resulting type after dereferencing.

impl JniType for UsageEvents_Event

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.