[]Struct jni_android_sys::android::mtp::MtpObjectInfo

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

public final class MtpObjectInfo

Required feature: "android-mtp-MtpObjectInfo"

Methods

impl MtpObjectInfo

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 getFormat<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

getName

Required features: "java-lang-String"

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

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

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

getKeywords

Required features: "java-lang-String"

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 MtpObjectInfo

impl AsValidJObjectAndEnv for MtpObjectInfo

impl Deref for MtpObjectInfo

type Target = Object

The resulting type after dereferencing.

impl JniType for MtpObjectInfo

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.