[]Struct jni_android_sys::android::app::VoiceInteractor_AbortVoiceRequest

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

AbortVoiceRequest

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]

onAbortResult

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]

getName

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]

getContext

Required features: "android-content-Context"

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

getActivity

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]

onAttached

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]

toString

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.

impl JniType for VoiceInteractor_AbortVoiceRequest

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.