Language

ShowFlags Enum

Definition

Specifies requested assist data and the source of a voice interaction session's show request.

public enum ShowFlags
type ShowFlags = 
Inheritance
ShowFlags

Fields

Name Value Description
WithAssist 1

Flag received in onShow(Bundle, int): originator requested that the session be started with assist data from the currently focused activity.

Android reference for android.service.voice.VoiceInteractionSession.SHOW_WITH_ASSIST.

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.

WithScreenshot 2

Flag received in onShow(Bundle, int): originator requested that the session be started with a screen shot of the currently focused activity.

Android reference for android.service.voice.VoiceInteractionSession.SHOW_WITH_SCREENSHOT.

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.

SourceAssistGesture 4

Flag for use with onShow(Bundle, int): indicates that the session has been started from the system assist gesture.

Android reference for android.service.voice.VoiceInteractionSession.SHOW_SOURCE_ASSIST_GESTURE.

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.

SourceApplication 8

Flag for use with onShow(Bundle, int): indicates that the application itself has invoked the assistant.

Android reference for android.service.voice.VoiceInteractionSession.SHOW_SOURCE_APPLICATION.

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.

SourceActivity 16

Flag for use with onShow(Bundle, int): indicates that an Activity has invoked the voice interaction service for a local interaction using Activity.startLocalVoiceInteraction(Bundle).

Android reference for android.service.voice.VoiceInteractionSession.SHOW_SOURCE_ACTIVITY.

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.

SourcePushToTalk 32

Flag for use with onShow(Bundle, int): indicates that the voice interaction service was invoked from a physical button.

Android reference for android.service.voice.VoiceInteractionSession.SHOW_SOURCE_PUSH_TO_TALK.

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.

SourceNotification 64

Flag for use with onShow(Bundle, int): indicates that the voice interaction service was invoked from a notification.

Android reference for android.service.voice.VoiceInteractionSession.SHOW_SOURCE_NOTIFICATION.

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.

SourceAutomotiveSystemUi 128

Flag for use with onShow(Bundle, int): indicates that the voice interaction service was invoked from an Android automotive system UI.

Android reference for android.service.voice.VoiceInteractionSession.SHOW_SOURCE_AUTOMOTIVE_SYSTEM_UI.

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.

ShowWithAssistStructureScreenContent 256

Flag received in onShow(Bundle, int): originator requested that the session be started with included screen content in the AssistStructure. NOTE: This flag must be passed along with SHOW_WITH_ASSIST or it will have no effect, as the new session will not receive any assist data, and thus no AssistStructure will be included.

Android reference for android.service.voice.VoiceInteractionSession.SHOW_WITH_ASSIST_STRUCTURE_SCREEN_CONTENT.

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.

Remarks

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