[]Struct jni_android_sys::android::os::DropBoxManager

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

public class DropBoxManager

Required feature: "android-os-DropBoxManager"

Methods

impl DropBoxManager

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

addText

Required features: "java-lang-String"

pub fn addData<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ByteArray>>,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

addData

Required features: "java-lang-String"

pub fn addFile<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env File>>,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

addFile

Required features: "java-io-File", "java-lang-String"

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

isTagEnabled

Required features: "java-lang-String"

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

getNextEntry

Required features: "android-os-DropBoxManager_Entry", "java-lang-String"

pub const ACTION_DROPBOX_ENTRY_ADDED: &'static str[src]

public static final ACTION_DROPBOX_ENTRY_ADDED

pub const EXTRA_TAG: &'static str[src]

public static final EXTRA_TAG

pub const EXTRA_TIME: &'static str[src]

public static final EXTRA_TIME

pub const IS_EMPTY: i32[src]

public static final IS_EMPTY

pub const IS_GZIPPED: i32[src]

public static final IS_GZIPPED

pub const IS_TEXT: i32[src]

public static final IS_TEXT

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 DropBoxManager

impl AsValidJObjectAndEnv for DropBoxManager

impl Deref for DropBoxManager

type Target = Object

The resulting type after dereferencing.

impl JniType for DropBoxManager

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.