VoiceInteractionService.OnPrepareToShowSession(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.
Notify the interactor when the system prepares to show session.
[Android.Runtime.Register("onPrepareToShowSession", "(Landroid/os/Bundle;I)V", "GetOnPrepareToShowSession_Landroid_os_Bundle_IHandler", ApiSince=34)]
public virtual void OnPrepareToShowSession (Android.OS.Bundle args, Android.Service.Voice.ShowFlags flags);
[<Android.Runtime.Register("onPrepareToShowSession", "(Landroid/os/Bundle;I)V", "GetOnPrepareToShowSession_Landroid_os_Bundle_IHandler", ApiSince=34)>]
abstract member OnPrepareToShowSession : Android.OS.Bundle * Android.Service.Voice.ShowFlags -> unit
override this.OnPrepareToShowSession : Android.OS.Bundle * Android.Service.Voice.ShowFlags -> unit
Parameters
- args
- Bundle
The arguments that were supplied to #showSession(Bundle, int)
.
It always includes VoiceInteractionSession#KEY_SHOW_SESSION_ID
.
- flags
- ShowFlags
The show flags originally provided to #showSession(Bundle, int)
.
- Attributes
Remarks
Notify the interactor when the system prepares to show session. The system is going to bind the session service.
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.