VoiceInteractionSession.Show(Bundle, ShowFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Show the UI for this session.
[Android.Runtime.Register("show", "(Landroid/os/Bundle;I)V", "GetShow_Landroid_os_Bundle_IHandler", ApiSince=23)]
public virtual void Show (Android.OS.Bundle? args, Android.Service.Voice.ShowFlags flags);
[<Android.Runtime.Register("show", "(Landroid/os/Bundle;I)V", "GetShow_Landroid_os_Bundle_IHandler", ApiSince=23)>]
abstract member Show : Android.OS.Bundle * Android.Service.Voice.ShowFlags -> unit
override this.Show : Android.OS.Bundle * Android.Service.Voice.ShowFlags -> unit
Parameters
- args
- Bundle
Arbitrary arguments that will be propagated #onShow
.
- flags
- ShowFlags
Indicates additional optional behavior that should be performed. May
be any combination of
VoiceInteractionSession#SHOW_WITH_ASSIST VoiceInteractionSession.SHOW_WITH_ASSIST
and
VoiceInteractionSession#SHOW_WITH_SCREENSHOT
VoiceInteractionSession.SHOW_WITH_SCREENSHOT
to request that the system generate and deliver assist data on the current foreground
app as part of showing the session UI.
- Attributes
Remarks
Show the UI for this session. This asks the system to go through the process of showing your UI, which will eventually culminate in #onShow
. This is similar to calling VoiceInteractionService#showSession VoiceInteractionService.showSession
.
Java documentation for android.service.voice.VoiceInteractionSession.show(android.os.Bundle, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.