[]Struct jni_android_sys::android::content::CursorLoader

#[repr(transparent)]
pub struct CursorLoader(_);
Deprecated

public class CursorLoader

Required feature: "android-content-CursorLoader"

Methods

impl CursorLoader

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

CursorLoader

Required features: "android-content-Context"

pub fn new_Context_Uri_String_array_String_String_array_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env Uri>>,
    arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg3: impl Into<Option<&'env String>>,
    arg4: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg5: impl Into<Option<&'env String>>
) -> Result<Local<'env, CursorLoader>, Local<'env, Throwable>>
[src]

CursorLoader

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

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

loadInBackground

Required features: "android-database-Cursor"

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

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

deliverResult

Required features: "android-database-Cursor"

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

onCanceled

Required features: "android-database-Cursor"

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

getUri

Required features: "android-net-Uri"

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

setUri

Required features: "android-net-Uri"

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

getProjection

Required features: "java-lang-String"

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

setProjection

Required features: "java-lang-String"

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

getSelection

Required features: "java-lang-String"

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

setSelection

Required features: "java-lang-String"

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

getSelectionArgs

Required features: "java-lang-String"

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

setSelectionArgs

Required features: "java-lang-String"

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

getSortOrder

Required features: "java-lang-String"

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

setSortOrder

Required features: "java-lang-String"

pub fn dump<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env FileDescriptor>>,
    arg2: impl Into<Option<&'env PrintWriter>>,
    arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

dump

Required features: "java-io-FileDescriptor", "java-io-PrintWriter", "java-lang-String"

Methods from Deref<Target = AsyncTaskLoader>

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

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

onCanceled

Required features: "java-lang-Object"

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

loadInBackground

Required features: "java-lang-Object"

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

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

pub fn dump<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env FileDescriptor>>,
    arg2: impl Into<Option<&'env PrintWriter>>,
    arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

dump

Required features: "java-io-FileDescriptor", "java-io-PrintWriter", "java-lang-String"

Trait Implementations

impl AsJValue for CursorLoader

impl AsValidJObjectAndEnv for CursorLoader

impl Deref for CursorLoader

type Target = AsyncTaskLoader

The resulting type after dereferencing.

impl JniType for CursorLoader

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.