Share via


VoiceInteractionSession.Request.IsActive Property

Definition

Check whether this request is currently active.

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

Property Value

Attributes

Remarks

Check whether this request is currently active. A request becomes inactive after calling #cancel or a final result method that completes the request. After this point, further interactions with the request will result in java.lang.IllegalStateException errors; you should not catch these errors, but can use this method if you need to determine the state of the request. Returns true if the request is still active.

Java documentation for android.service.voice.VoiceInteractionSession.Request.isActive().

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