VoiceInteractionService.IsActiveService(Context, ComponentName) Method

Definition

Check whether the given service component is the currently active VoiceInteractionService.

[Android.Runtime.Register("isActiveService", "(Landroid/content/Context;Landroid/content/ComponentName;)Z", "")]
public static bool IsActiveService (Android.Content.Context? context, Android.Content.ComponentName? service);
[<Android.Runtime.Register("isActiveService", "(Landroid/content/Context;Landroid/content/ComponentName;)Z", "")>]
static member IsActiveService : Android.Content.Context * Android.Content.ComponentName -> bool

Parameters

context
Context
service
ComponentName

Returns

Attributes

Remarks

Check whether the given service component is the currently active VoiceInteractionService.

Java documentation for android.service.voice.VoiceInteractionService.isActiveService(android.content.Context, android.content.ComponentName).

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