[−]Struct jni_android_sys::android::content::AsyncQueryHandler
public class AsyncQueryHandler
Required feature: "android-content-AsyncQueryHandler"
Methods
impl AsyncQueryHandler
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>
) -> Result<Local<'env, AsyncQueryHandler>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ContentResolver>>
) -> Result<Local<'env, AsyncQueryHandler>, Local<'env, Throwable>>
Required features: "android-content-ContentResolver"
pub fn startQuery<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg6: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg6: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-Object", "java-lang-String"
pub fn cancelOperation<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn startInsert<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env ContentValues>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env ContentValues>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ContentValues", "android-net-Uri", "java-lang-Object"
pub fn startUpdate<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env ContentValues>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env ContentValues>>,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ContentValues", "android-net-Uri", "java-lang-Object", "java-lang-String"
pub fn startDelete<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-Object", "java-lang-String"
pub fn handleMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Message"
Methods from Deref<Target = Handler>
pub fn handleMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn dispatchMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn getMessageName<'env>(
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-os-Message", "java-lang-String"
pub fn obtainMessage<'env>(
&'env self
) -> Result<Option<Local<'env, Message>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Message>>, Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn obtainMessage_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Message>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Message>>, Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn obtainMessage_int_Object<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Message>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Message>>, Local<'env, Throwable>>
Required features: "android-os-Message", "java-lang-Object"
pub fn obtainMessage_int_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, Message>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, Message>>, Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn obtainMessage_int_int_int_Object<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Message>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Message>>, Local<'env, Throwable>>
Required features: "android-os-Message", "java-lang-Object"
pub fn post<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Runnable"
pub fn postAtTime_Runnable_long<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Runnable"
pub fn postAtTime_Runnable_Object_long<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: impl Into<Option<&'env Object>>,
arg2: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: impl Into<Option<&'env Object>>,
arg2: i64
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-Runnable"
pub fn postDelayed_Runnable_long<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Runnable"
pub fn postDelayed_Runnable_Object_long<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: impl Into<Option<&'env Object>>,
arg2: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: impl Into<Option<&'env Object>>,
arg2: i64
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-Runnable"
pub fn postAtFrontOfQueue<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Runnable"
pub fn removeCallbacks_Runnable<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Runnable"
pub fn removeCallbacks_Runnable_Object<'env>(
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Runnable>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-Runnable"
pub fn sendMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn sendEmptyMessage<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn sendEmptyMessageDelayed<'env>(
&'env self,
arg0: i32,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
pub fn sendEmptyMessageAtTime<'env>(
&'env self,
arg0: i32,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
pub fn sendMessageDelayed<'env>(
&'env self,
arg0: impl Into<Option<&'env Message>>,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Message>>,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn sendMessageAtTime<'env>(
&'env self,
arg0: impl Into<Option<&'env Message>>,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Message>>,
arg1: i64
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn sendMessageAtFrontOfQueue<'env>(
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn removeMessages_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn removeMessages_int_Object<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn removeCallbacksAndMessages<'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 hasMessages_int<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn hasMessages_int_Object<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getLooper<'env>(
&'env self
) -> Result<Option<Local<'env, Looper>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Looper>>, Local<'env, Throwable>>
Required features: "android-os-Looper"
pub fn dump<'env>(
&'env self,
arg0: impl Into<Option<&'env Printer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Printer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-util-Printer", "java-lang-String"
pub fn toString<'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"
Trait Implementations
impl AsJValue for AsyncQueryHandler
impl AsValidJObjectAndEnv for AsyncQueryHandler
impl Deref for AsyncQueryHandler
impl JniType for AsyncQueryHandler
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for AsyncQueryHandler
impl !Send for AsyncQueryHandler
impl !Sync for AsyncQueryHandler
impl Unpin for AsyncQueryHandler
impl UnwindSafe for AsyncQueryHandler
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>,