[]Struct jni_android_sys::android::speech::RecognizerIntent

#[repr(transparent)]
pub struct RecognizerIntent(_);

public class RecognizerIntent

Required feature: "android-speech-RecognizerIntent"

Methods

impl RecognizerIntent

pub fn getVoiceDetailsIntent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]

getVoiceDetailsIntent

Required features: "android-content-Context", "android-content-Intent"

pub const ACTION_GET_LANGUAGE_DETAILS: &'static str[src]

public static final ACTION_GET_LANGUAGE_DETAILS

pub const ACTION_RECOGNIZE_SPEECH: &'static str[src]

public static final ACTION_RECOGNIZE_SPEECH

pub const ACTION_VOICE_SEARCH_HANDS_FREE: &'static str[src]

public static final ACTION_VOICE_SEARCH_HANDS_FREE

public static final ACTION_WEB_SEARCH

pub const DETAILS_META_DATA: &'static str[src]

public static final DETAILS_META_DATA

pub const EXTRA_CALLING_PACKAGE: &'static str[src]

public static final EXTRA_CALLING_PACKAGE

pub const EXTRA_CONFIDENCE_SCORES: &'static str[src]

public static final EXTRA_CONFIDENCE_SCORES

pub const EXTRA_LANGUAGE: &'static str[src]

public static final EXTRA_LANGUAGE

pub const EXTRA_LANGUAGE_MODEL: &'static str[src]

public static final EXTRA_LANGUAGE_MODEL

pub const EXTRA_LANGUAGE_PREFERENCE: &'static str[src]

public static final EXTRA_LANGUAGE_PREFERENCE

pub const EXTRA_MAX_RESULTS: &'static str[src]

public static final EXTRA_MAX_RESULTS

pub const EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE: &'static str[src]

pub const EXTRA_ORIGIN: &'static str[src]

public static final EXTRA_ORIGIN

pub const EXTRA_PARTIAL_RESULTS: &'static str[src]

public static final EXTRA_PARTIAL_RESULTS

pub const EXTRA_PREFER_OFFLINE: &'static str[src]

public static final EXTRA_PREFER_OFFLINE

pub const EXTRA_PROMPT: &'static str[src]

public static final EXTRA_PROMPT

pub const EXTRA_RESULTS: &'static str[src]

public static final EXTRA_RESULTS

pub const EXTRA_RESULTS_PENDINGINTENT: &'static str[src]

public static final EXTRA_RESULTS_PENDINGINTENT

pub const EXTRA_RESULTS_PENDINGINTENT_BUNDLE: &'static str[src]

pub const EXTRA_SECURE: &'static str[src]

public static final EXTRA_SECURE

pub const EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS: &'static str[src]

pub const EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS: &'static str[src]

pub const EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS: &'static str[src]

pub const EXTRA_SUPPORTED_LANGUAGES: &'static str[src]

public static final EXTRA_SUPPORTED_LANGUAGES

pub const EXTRA_WEB_SEARCH_ONLY: &'static str[src]

public static final EXTRA_WEB_SEARCH_ONLY

pub const LANGUAGE_MODEL_FREE_FORM: &'static str[src]

public static final LANGUAGE_MODEL_FREE_FORM

public static final LANGUAGE_MODEL_WEB_SEARCH

pub const RESULT_AUDIO_ERROR: i32[src]

public static final RESULT_AUDIO_ERROR

pub const RESULT_CLIENT_ERROR: i32[src]

public static final RESULT_CLIENT_ERROR

pub const RESULT_NETWORK_ERROR: i32[src]

public static final RESULT_NETWORK_ERROR

pub const RESULT_NO_MATCH: i32[src]

public static final RESULT_NO_MATCH

pub const RESULT_SERVER_ERROR: i32[src]

public static final RESULT_SERVER_ERROR

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

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

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

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

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

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

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

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

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

Trait Implementations

impl AsJValue for RecognizerIntent

impl AsValidJObjectAndEnv for RecognizerIntent

impl Deref for RecognizerIntent

type Target = Object

The resulting type after dereferencing.

impl JniType for RecognizerIntent

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.