次の方法で共有


VoiceInteractionService.OnPrepareToShowSession(Bundle, ShowFlags) Method

Definition

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.

Java documentation for android.service.voice.VoiceInteractionService.onPrepareToShowSession(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.

Applies to