[]Struct jni_android_sys::android::content::AsyncQueryHandler

#[repr(transparent)]
pub struct 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]

AsyncQueryHandler

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]

startQuery

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

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

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]

startInsert

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]

startUpdate

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]

startDelete

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]

handleMessage

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]

handleMessage

Required features: "android-os-Message"

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

dispatchMessage

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]

getMessageName

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

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

obtainMessage

Required features: "android-os-Message"

pub fn obtainMessage_int<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, Message>>, Local<'env, Throwable>>
[src]

obtainMessage

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]

obtainMessage

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]

obtainMessage

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]

obtainMessage

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]

post

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]

postAtTime

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]

postAtTime

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]

postDelayed

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]

postDelayed

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]

postAtFrontOfQueue

Required features: "java-lang-Runnable"

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

removeCallbacks

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]

removeCallbacks

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]

sendMessage

Required features: "android-os-Message"

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

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

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

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

sendMessageDelayed

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]

sendMessageAtTime

Required features: "android-os-Message"

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

sendMessageAtFrontOfQueue

Required features: "android-os-Message"

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

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

removeMessages

Required features: "java-lang-Object"

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

removeCallbacksAndMessages

Required features: "java-lang-Object"

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

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

hasMessages

Required features: "java-lang-Object"

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

getLooper

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]

dump

Required features: "android-util-Printer", "java-lang-String"

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

toString

Required features: "java-lang-String"

Trait Implementations

impl AsJValue for AsyncQueryHandler

impl AsValidJObjectAndEnv for AsyncQueryHandler

impl Deref for AsyncQueryHandler

type Target = Handler

The resulting type after dereferencing.

impl JniType for AsyncQueryHandler

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.