Sdílet prostřednictvím


AccessibilityEvent.TypeSpeechStateChange Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.Accessibility.EventTypes enum directly instead of this field.

Represents a change in the speech state defined by the speech state change types.

[Android.Runtime.Register("TYPE_SPEECH_STATE_CHANGE", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.Accessibility.EventTypes enum directly instead of this field.", true)]
public const Android.Views.Accessibility.EventTypes TypeSpeechStateChange = 33554432;
[<Android.Runtime.Register("TYPE_SPEECH_STATE_CHANGE", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.Accessibility.EventTypes enum directly instead of this field.", true)>]
val mutable TypeSpeechStateChange : Android.Views.Accessibility.EventTypes

Field Value

Value = 33554432

Implements

Attributes

Remarks

Represents a change in the speech state defined by the speech state change types. A change in the speech state occurs when an application wants to signal that it is either speaking or listening for human speech. This event helps avoid conflicts where two applications want to speak or one listens when another speaks. When sending this event, the sender should ensure that the accompanying state change types make sense. For example, the sender should not send #SPEECH_STATE_SPEAKING_START and #SPEECH_STATE_SPEAKING_END together.

Java documentation for android.view.accessibility.AccessibilityEvent.TYPE_SPEECH_STATE_CHANGE.

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