[]Struct jni_android_sys::android::provider::DocumentsContract

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

public final class DocumentsContract

Required feature: "android-provider-DocumentsContract"

Methods

impl DocumentsContract

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

buildRootsUri

Required features: "android-net-Uri", "java-lang-String"

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

buildRootUri

Required features: "android-net-Uri", "java-lang-String"

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

buildRecentDocumentsUri

Required features: "android-net-Uri", "java-lang-String"

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

buildTreeDocumentUri

Required features: "android-net-Uri", "java-lang-String"

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

buildDocumentUri

Required features: "android-net-Uri", "java-lang-String"

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

buildDocumentUriUsingTree

Required features: "android-net-Uri", "java-lang-String"

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

buildChildDocumentsUri

Required features: "android-net-Uri", "java-lang-String"

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

buildChildDocumentsUriUsingTree

Required features: "android-net-Uri", "java-lang-String"

pub fn buildSearchDocumentsUri<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

buildSearchDocumentsUri

Required features: "android-net-Uri", "java-lang-String"

pub fn isDocumentUri<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env Uri>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isDocumentUri

Required features: "android-content-Context", "android-net-Uri"

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

isTreeUri

Required features: "android-net-Uri"

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

getRootId

Required features: "android-net-Uri", "java-lang-String"

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

getDocumentId

Required features: "android-net-Uri", "java-lang-String"

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

getTreeDocumentId

Required features: "android-net-Uri", "java-lang-String"

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

getSearchDocumentsQuery

Required features: "android-net-Uri", "java-lang-String"

pub fn getDocumentThumbnail<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>,
    arg2: impl Into<Option<&'env Point>>,
    arg3: impl Into<Option<&'env CancellationSignal>>
) -> Result<Option<Local<'env, Bitmap>>, Local<'env, Throwable>>
[src]

getDocumentThumbnail

Required features: "android-content-ContentResolver", "android-graphics-Bitmap", "android-graphics-Point", "android-net-Uri", "android-os-CancellationSignal"

pub fn createDocument<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

createDocument

Required features: "android-content-ContentResolver", "android-net-Uri", "java-lang-String"

pub fn renameDocument<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

renameDocument

Required features: "android-content-ContentResolver", "android-net-Uri", "java-lang-String"

pub fn deleteDocument<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>
) -> Result<bool, Local<'env, Throwable>>
[src]

deleteDocument

Required features: "android-content-ContentResolver", "android-net-Uri"

pub fn copyDocument<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>,
    arg2: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

copyDocument

Required features: "android-content-ContentResolver", "android-net-Uri"

pub fn moveDocument<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>,
    arg2: impl Into<Option<&'env Uri>>,
    arg3: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]

moveDocument

Required features: "android-content-ContentResolver", "android-net-Uri"

pub fn removeDocument<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>,
    arg2: impl Into<Option<&'env Uri>>
) -> Result<bool, Local<'env, Throwable>>
[src]

removeDocument

Required features: "android-content-ContentResolver", "android-net-Uri"

pub fn ejectRoot<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]

ejectRoot

Required features: "android-content-ContentResolver", "android-net-Uri"

pub fn findDocumentPath<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>
) -> Result<Option<Local<'env, DocumentsContract_Path>>, Local<'env, Throwable>>
[src]

findDocumentPath

Required features: "android-content-ContentResolver", "android-net-Uri", "android-provider-DocumentsContract_Path"

pub fn createWebLinkIntent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Uri>>,
    arg2: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, IntentSender>>, Local<'env, Throwable>>
[src]

createWebLinkIntent

Required features: "android-content-ContentResolver", "android-content-IntentSender", "android-net-Uri", "android-os-Bundle"

pub const ACTION_DOCUMENT_SETTINGS: &'static str[src]

public static final ACTION_DOCUMENT_SETTINGS

pub const EXTRA_ERROR: &'static str[src]

public static final EXTRA_ERROR

pub const EXTRA_EXCLUDE_SELF: &'static str[src]

public static final EXTRA_EXCLUDE_SELF

pub const EXTRA_INFO: &'static str[src]

public static final EXTRA_INFO

pub const EXTRA_INITIAL_URI: &'static str[src]

public static final EXTRA_INITIAL_URI

pub const EXTRA_LOADING: &'static str[src]

public static final EXTRA_LOADING

pub const EXTRA_ORIENTATION: &'static str[src]

public static final EXTRA_ORIENTATION

pub const EXTRA_PROMPT: &'static str[src]

public static final EXTRA_PROMPT

pub const PROVIDER_INTERFACE: &'static str[src]

public static final PROVIDER_INTERFACE

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 DocumentsContract

impl AsValidJObjectAndEnv for DocumentsContract

impl Deref for DocumentsContract

type Target = Object

The resulting type after dereferencing.

impl JniType for DocumentsContract

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.