Udostępnij za pośrednictwem


VoiceInteractionSession.OnCreate Method

Definition

Overloads

OnCreate()

Initiatize a new session.

OnCreate(Bundle)

Initiatize a new session.

OnCreate()

Initiatize a new session.

[Android.Runtime.Register("onCreate", "()V", "GetOnCreateHandler", ApiSince=23)]
public virtual void OnCreate ();
[<Android.Runtime.Register("onCreate", "()V", "GetOnCreateHandler", ApiSince=23)>]
abstract member OnCreate : unit -> unit
override this.OnCreate : unit -> unit
Attributes

Remarks

Initiatize a new session. At this point you don't know exactly what this session will be used for; you will find that out in #onShow.

Java documentation for android.service.voice.VoiceInteractionSession.onCreate().

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

OnCreate(Bundle)

Initiatize a new session.

[Android.Runtime.Register("onCreate", "(Landroid/os/Bundle;)V", "GetOnCreate_Landroid_os_Bundle_Handler")]
public virtual void OnCreate (Android.OS.Bundle? args);
[<Android.Runtime.Register("onCreate", "(Landroid/os/Bundle;)V", "GetOnCreate_Landroid_os_Bundle_Handler")>]
abstract member OnCreate : Android.OS.Bundle -> unit
override this.OnCreate : Android.OS.Bundle -> unit

Parameters

args
Bundle

The arguments that were supplied to StartSession(Bundle).

Attributes

Remarks

Java documentation for android.service.voice.VoiceInteractionSession.onCreate().

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