共用方式為


Activity.IsLocalVoiceInteractionSupported Property

Definition

Queries whether the currently enabled voice interaction service supports returning a voice interactor for use by the activity.

public virtual bool IsLocalVoiceInteractionSupported { [Android.Runtime.Register("isLocalVoiceInteractionSupported", "()Z", "GetIsLocalVoiceInteractionSupportedHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("isLocalVoiceInteractionSupported", "()Z", "GetIsLocalVoiceInteractionSupportedHandler", ApiSince=24)>]
member this.IsLocalVoiceInteractionSupported : bool

Property Value

whether the current voice interaction service supports local voice interaction

Attributes

Remarks

Queries whether the currently enabled voice interaction service supports returning a voice interactor for use by the activity. This is valid only for the duration of the activity.

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

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