Partager via


Activity.IsVoiceInteraction Property

Definition

Check whether this activity is running as part of a voice interaction with the user.

public virtual bool IsVoiceInteraction { [Android.Runtime.Register("isVoiceInteraction", "()Z", "GetIsVoiceInteractionHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("isVoiceInteraction", "()Z", "GetIsVoiceInteractionHandler", ApiSince=23)>]
member this.IsVoiceInteraction : bool

Property Value

Attributes

Remarks

Check whether this activity is running as part of a voice interaction with the user. If true, it should perform its interaction with the user through the VoiceInteractor returned by #getVoiceInteractor.

Java documentation for android.app.Activity.isVoiceInteraction().

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