Language

SpeechState Enum

Definition

Identifies speaking and listening state changes in an accessibility event.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum SpeechState
[<System.Flags>]
type SpeechState = 
Inheritance
SpeechState
Attributes

Fields

Name Value Description
SpeakingStart 1

Change type for TYPE_SPEECH_STATE_CHANGE event: another service is speaking.

Android reference for android.view.accessibility.AccessibilityEvent.SPEECH_STATE_SPEAKING_START.

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.

SpeakingEnd 2

Change type for TYPE_SPEECH_STATE_CHANGE event: another service is no longer speaking.

Android reference for android.view.accessibility.AccessibilityEvent.SPEECH_STATE_SPEAKING_END.

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.

ListeningStart 4

Change type for TYPE_SPEECH_STATE_CHANGE event: another service is listening to the microphone.

Android reference for android.view.accessibility.AccessibilityEvent.SPEECH_STATE_LISTENING_START.

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.

ListeningEnd 8

Change type for TYPE_SPEECH_STATE_CHANGE event: another service is no longer listening to the microphone.

Android reference for android.view.accessibility.AccessibilityEvent.SPEECH_STATE_LISTENING_END.

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

The flags distinguish the start and end of speaking or listening.

Applies to