Language

VoiceInteractionSession.AbortVoiceRequest.MessageFormatted Property

Definition

Caution

deprecated

Return the message informing the user of the problem, as per android.app.VoiceInteractor.AbortVoiceRequest VoiceInteractor.AbortVoiceRequest.

[System.Obsolete("deprecated")]
public Java.Lang.ICharSequence MessageFormatted { [Android.Runtime.Register("getMessage", "()Ljava/lang/CharSequence;", "", ApiSince=23)] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getMessage", "()Ljava/lang/CharSequence;", "", ApiSince=23)>]
member this.MessageFormatted : Java.Lang.ICharSequence

Property Value

The first voice message describing why the operation cannot be completed by voice, or null if the request has no voice prompt.

Attributes

Remarks

Return the message informing the user of the problem, as per android.app.VoiceInteractor.AbortVoiceRequest VoiceInteractor.AbortVoiceRequest.

This member is deprecated. Prefer #getVoicePrompt() which allows a separate visual message.

Java documentation for android.service.voice.VoiceInteractionSession.AbortVoiceRequest.getMessage().

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