[−]Struct jni_android_sys::android::content::CursorLoader
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, CursorLoader>, Local<'env, Throwable>>
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]
__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>>
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]
&'env self
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor"
pub fn cancelLoadInBackground<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn deliverResult_Cursor<'env>(
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-Cursor"
pub fn onCanceled_Cursor<'env>(
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-Cursor"
pub fn getUri<'env>(
&'env self
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn setUri<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn getProjection<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setProjection<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSelection<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setSelection<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSelectionArgs<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setSelectionArgs<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSortOrder<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setSortOrder<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
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]
&'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>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn onCanceled<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn loadInBackground<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn cancelLoadInBackground<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn isLoadInBackgroundCanceled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
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]
&'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>>
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.
fn deref(&self) -> &Self::Target
impl JniType for CursorLoader
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for CursorLoader
impl !Send for CursorLoader
impl !Sync for CursorLoader
impl Unpin for CursorLoader
impl UnwindSafe for CursorLoader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,