[]Struct jni_android_sys::android::mtp::MtpObjectInfo_Builder

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

public class MtpObjectInfo.Builder

Required feature: "android-mtp-MtpObjectInfo_Builder"

Methods

impl MtpObjectInfo_Builder

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, MtpObjectInfo_Builder>, Local<'env, Throwable>>
[src]

pub fn new_MtpObjectInfo<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env MtpObjectInfo>>
) -> Result<Local<'env, MtpObjectInfo_Builder>, Local<'env, Throwable>>
[src]

Builder

Required features: "android-mtp-MtpObjectInfo"

pub fn setObjectHandle<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setObjectHandle

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setAssociationDesc<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setAssociationDesc

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setAssociationType<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setAssociationType

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setCompressedSize<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setCompressedSize

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setDateCreated<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setDateCreated

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setDateModified<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setDateModified

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setFormat<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setFormat

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setImagePixDepth<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setImagePixDepth

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setImagePixHeight<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setImagePixHeight

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setImagePixWidth<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setImagePixWidth

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setKeywords<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setKeywords

Required features: "android-mtp-MtpObjectInfo_Builder", "java-lang-String"

pub fn setName<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setName

Required features: "android-mtp-MtpObjectInfo_Builder", "java-lang-String"

pub fn setParent<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setParent

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setProtectionStatus<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setProtectionStatus

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setSequenceNumber<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setSequenceNumber

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setStorageId<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setStorageId

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setThumbCompressedSize<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setThumbCompressedSize

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setThumbFormat<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setThumbFormat

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setThumbPixHeight<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setThumbPixHeight

Required features: "android-mtp-MtpObjectInfo_Builder"

pub fn setThumbPixWidth<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, MtpObjectInfo_Builder>>, Local<'env, Throwable>>
[src]

setThumbPixWidth

Required features: "android-mtp-MtpObjectInfo_Builder"

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

build

Required features: "android-mtp-MtpObjectInfo"

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_Builder

impl AsValidJObjectAndEnv for MtpObjectInfo_Builder

impl Deref for MtpObjectInfo_Builder

type Target = Object

The resulting type after dereferencing.

impl JniType for MtpObjectInfo_Builder

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.