VoiceInteractionService.IsActiveService(Context, ComponentName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.