[−]Struct jni_android_sys::android::service::voice::VoiceInteractionSession
public class VoiceInteractionSession
Required feature: "android-service-voice-VoiceInteractionSession"
Methods
impl VoiceInteractionSession
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, VoiceInteractionSession>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, VoiceInteractionSession>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn new_Context_Handler<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Handler>>
) -> Result<Local<'env, VoiceInteractionSession>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Handler>>
) -> Result<Local<'env, VoiceInteractionSession>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-os-Handler"
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 setDisabledShowContext<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getDisabledShowContext<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getUserDisabledShowContext<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn show<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn hide<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setUiEnabled<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setTheme<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn startVoiceActivity<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn startAssistantActivity<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn setKeepAwake<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn closeSystemDialogs<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn getLayoutInflater<'env>(
&'env self
) -> Result<Option<Local<'env, LayoutInflater>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LayoutInflater>>, Local<'env, Throwable>>
Required features: "android-view-LayoutInflater"
pub fn getWindow<'env>(
&'env self
) -> Result<Option<Local<'env, Dialog>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Dialog>>, Local<'env, Throwable>>
Required features: "android-app-Dialog"
pub fn finish<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onCreate<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onPrepareShow<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn onShow<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn onHide<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onDestroy<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onCreateContentView<'env>(
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn setContentView<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onAssistStructureFailure<'env>(
&'env self,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Throwable"
pub fn onHandleAssist<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env AssistStructure>>,
arg2: impl Into<Option<&'env AssistContent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env AssistStructure>>,
arg2: impl Into<Option<&'env AssistContent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-assist-AssistContent", "android-app-assist-AssistStructure", "android-os-Bundle"
pub fn onHandleAssistSecondary<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env AssistStructure>>,
arg2: impl Into<Option<&'env AssistContent>>,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env AssistStructure>>,
arg2: impl Into<Option<&'env AssistContent>>,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-assist-AssistContent", "android-app-assist-AssistStructure", "android-os-Bundle"
pub fn onHandleScreenshot<'env>(
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Bitmap"
pub fn onKeyDown<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn onKeyLongPress<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn onKeyUp<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn onKeyMultiple<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn onBackPressed<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onCloseSystemDialogs<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn onLockscreenShown<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onConfigurationChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-Configuration"
pub fn onLowMemory<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onTrimMemory<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn onComputeInsets<'env>(
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_Insets>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_Insets>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-voice-VoiceInteractionSession_Insets"
pub fn onTaskStarted<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn onTaskFinished<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn onGetSupportedCommands<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, BooleanArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, BooleanArray>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn onRequestConfirmation<'env>(
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_ConfirmationRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_ConfirmationRequest>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-voice-VoiceInteractionSession_ConfirmationRequest"
pub fn onRequestPickOption<'env>(
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_PickOptionRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_PickOptionRequest>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-voice-VoiceInteractionSession_PickOptionRequest"
pub fn onRequestCompleteVoice<'env>(
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_CompleteVoiceRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_CompleteVoiceRequest>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-voice-VoiceInteractionSession_CompleteVoiceRequest"
pub fn onRequestAbortVoice<'env>(
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_AbortVoiceRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_AbortVoiceRequest>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-voice-VoiceInteractionSession_AbortVoiceRequest"
pub fn onRequestCommand<'env>(
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_CommandRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_CommandRequest>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-voice-VoiceInteractionSession_CommandRequest"
pub fn onCancelRequest<'env>(
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_Request>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env VoiceInteractionSession_Request>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-voice-VoiceInteractionSession_Request"
pub fn dump<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env FileDescriptor>>,
arg2: impl Into<Option<&'env PrintWriter>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env FileDescriptor>>,
arg2: impl Into<Option<&'env PrintWriter>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-FileDescriptor", "java-io-PrintWriter", "java-lang-String"
pub const SHOW_SOURCE_ACTIVITY: i32
[src]
public static final SHOW_SOURCE_ACTIVITY
pub const SHOW_SOURCE_APPLICATION: i32
[src]
public static final SHOW_SOURCE_APPLICATION
pub const SHOW_SOURCE_ASSIST_GESTURE: i32
[src]
public static final SHOW_SOURCE_ASSIST_GESTURE
pub const SHOW_WITH_ASSIST: i32
[src]
public static final SHOW_WITH_ASSIST
pub const SHOW_WITH_SCREENSHOT: i32
[src]
public static final SHOW_WITH_SCREENSHOT
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
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"
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for VoiceInteractionSession
impl AsRef<ComponentCallbacks2> for VoiceInteractionSession
fn as_ref(&self) -> &ComponentCallbacks2
impl AsRef<KeyEvent_Callback> for VoiceInteractionSession
fn as_ref(&self) -> &KeyEvent_Callback
impl AsValidJObjectAndEnv for VoiceInteractionSession
impl Deref for VoiceInteractionSession
impl JniType for VoiceInteractionSession
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for VoiceInteractionSession
impl !Send for VoiceInteractionSession
impl !Sync for VoiceInteractionSession
impl Unpin for VoiceInteractionSession
impl UnwindSafe for VoiceInteractionSession
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>,