[]Struct jni_android_sys::android::mtp::MtpEvent

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

public class MtpEvent

Required feature: "android-mtp-MtpEvent"

Methods

impl MtpEvent

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

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

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

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

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

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

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

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

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

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

pub const EVENT_CANCEL_TRANSACTION: i32[src]

public static final EVENT_CANCEL_TRANSACTION

pub const EVENT_CAPTURE_COMPLETE: i32[src]

public static final EVENT_CAPTURE_COMPLETE

pub const EVENT_DEVICE_INFO_CHANGED: i32[src]

public static final EVENT_DEVICE_INFO_CHANGED

pub const EVENT_DEVICE_PROP_CHANGED: i32[src]

public static final EVENT_DEVICE_PROP_CHANGED

pub const EVENT_DEVICE_RESET: i32[src]

public static final EVENT_DEVICE_RESET

pub const EVENT_OBJECT_ADDED: i32[src]

public static final EVENT_OBJECT_ADDED

pub const EVENT_OBJECT_INFO_CHANGED: i32[src]

public static final EVENT_OBJECT_INFO_CHANGED

pub const EVENT_OBJECT_PROP_CHANGED: i32[src]

public static final EVENT_OBJECT_PROP_CHANGED

pub const EVENT_OBJECT_PROP_DESC_CHANGED: i32[src]

public static final EVENT_OBJECT_PROP_DESC_CHANGED

pub const EVENT_OBJECT_REFERENCES_CHANGED: i32[src]

public static final EVENT_OBJECT_REFERENCES_CHANGED

pub const EVENT_OBJECT_REMOVED: i32[src]

public static final EVENT_OBJECT_REMOVED

pub const EVENT_REQUEST_OBJECT_TRANSFER: i32[src]

public static final EVENT_REQUEST_OBJECT_TRANSFER

pub const EVENT_STORAGE_INFO_CHANGED: i32[src]

public static final EVENT_STORAGE_INFO_CHANGED

pub const EVENT_STORE_ADDED: i32[src]

public static final EVENT_STORE_ADDED

pub const EVENT_STORE_FULL: i32[src]

public static final EVENT_STORE_FULL

pub const EVENT_STORE_REMOVED: i32[src]

public static final EVENT_STORE_REMOVED

pub const EVENT_UNDEFINED: i32[src]

public static final EVENT_UNDEFINED

pub const EVENT_UNREPORTED_STATUS: i32[src]

public static final EVENT_UNREPORTED_STATUS

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 MtpEvent

impl AsValidJObjectAndEnv for MtpEvent

impl Deref for MtpEvent

type Target = Object

The resulting type after dereferencing.

impl JniType for MtpEvent

Auto Trait Implementations

impl RefUnwindSafe for MtpEvent

impl !Send for MtpEvent

impl !Sync for MtpEvent

impl Unpin for MtpEvent

impl UnwindSafe for MtpEvent

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.