[−]Struct jni_android_sys::android::app::VoiceInteractor_AbortVoiceRequest
public class VoiceInteractor.AbortVoiceRequest
Required feature: "android-app-VoiceInteractor_AbortVoiceRequest"
Methods
impl VoiceInteractor_AbortVoiceRequest
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env VoiceInteractor_Prompt>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<Local<'env, VoiceInteractor_AbortVoiceRequest>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env VoiceInteractor_Prompt>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<Local<'env, VoiceInteractor_AbortVoiceRequest>, Local<'env, Throwable>>
Required features: "android-app-VoiceInteractor_Prompt", "android-os-Bundle"
pub fn onAbortResult<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
Methods from Deref<Target = VoiceInteractor_Request>
pub fn getName<'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 cancel<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn getContext<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn getActivity<'env>(
&'env self
) -> Result<Option<Local<'env, Activity>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Activity>>, Local<'env, Throwable>>
Required features: "android-app-Activity"
pub fn onCancel<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onAttached<'env>(
&'env self,
arg0: impl Into<Option<&'env Activity>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Activity>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Activity"
pub fn onDetached<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
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 VoiceInteractor_AbortVoiceRequest
impl AsValidJObjectAndEnv for VoiceInteractor_AbortVoiceRequest
impl Deref for VoiceInteractor_AbortVoiceRequest
type Target = VoiceInteractor_Request
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for VoiceInteractor_AbortVoiceRequest
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for VoiceInteractor_AbortVoiceRequest
impl !Send for VoiceInteractor_AbortVoiceRequest
impl !Sync for VoiceInteractor_AbortVoiceRequest
impl Unpin for VoiceInteractor_AbortVoiceRequest
impl UnwindSafe for VoiceInteractor_AbortVoiceRequest
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>,