VoiceInteractionService.ShowSession(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.
Request that the associated android.service.voice.VoiceInteractionSession
be
shown to the user, starting it if necessary.
[Android.Runtime.Register("showSession", "(Landroid/os/Bundle;I)V", "GetShowSession_Landroid_os_Bundle_IHandler", ApiSince=23)]
public virtual void ShowSession (Android.OS.Bundle? args, Android.Service.Voice.ShowFlags flags);
[<Android.Runtime.Register("showSession", "(Landroid/os/Bundle;I)V", "GetShowSession_Landroid_os_Bundle_IHandler", ApiSince=23)>]
abstract member ShowSession : Android.OS.Bundle * Android.Service.Voice.ShowFlags -> unit
override this.ShowSession : Android.OS.Bundle * Android.Service.Voice.ShowFlags -> unit
Parameters
- args
- Bundle
Arbitrary arguments that will be propagated to the session.
- 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
Request that the associated android.service.voice.VoiceInteractionSession
be shown to the user, starting it if necessary.
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.