ShowFlags Enum
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.
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 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 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 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 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 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 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 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. 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. 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.