Language

Activity.ShowAssist(Bundle) Method

Definition

Ask to have the current assistant shown to the user.

[Android.Runtime.Register("showAssist", "(Landroid/os/Bundle;)Z", "GetShowAssist_Landroid_os_Bundle_Handler", ApiSince=23)]
public virtual bool ShowAssist(Android.OS.Bundle? args);
[<Android.Runtime.Register("showAssist", "(Landroid/os/Bundle;)Z", "GetShowAssist_Landroid_os_Bundle_Handler", ApiSince=23)>]
abstract member ShowAssist : Android.OS.Bundle -> bool
override this.ShowAssist : Android.OS.Bundle -> bool

Parameters

args
Bundle

Bundle

Returns

Attributes

Remarks

Ask to have the current assistant shown to the user. This only works if the calling activity is the current foreground activity. It is the same as calling VoiceInteractionService.showSession and requesting all of the possible context. The receiver will always see VoiceInteractionSession.SHOW_SOURCE_APPLICATION set.

Android reference for android.app.Activity.showAssist.

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