-
public final class VoiceToolRegistry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVoiceToolRegistry.Companion
-
Constructor Summary
Constructors Constructor Description VoiceToolRegistry(Context context)
-
Method Summary
Modifier and Type Method Description final UnitregisterTools(Set<VoiceTool<?>> tools, Boolean broadcastIntent)final UnitregisterTool(VoiceTool<?> tool, Boolean broadcastIntent)final BooleanunregisterTool(String toolName, Boolean broadcastIntent)final UnitunregisterAllTools()final List<VoiceTool<?>>getRegisteredTools()final VoiceTool<?>getTool(String name)final List<VoiceToolDefinition>getToolDefinitions()final UnitupdateToolsBasedOnPreconditions(Set<VoiceTool<?>> allVoiceTools)final <ERROR CLASS>getAvailableTools()final <ERROR CLASS>getUnavailableTools()final BooleanisToolAvailable(String toolName)-
-
Constructor Detail
-
VoiceToolRegistry
VoiceToolRegistry(Context context)
-
-
Method Detail
-
registerTools
final Unit registerTools(Set<VoiceTool<?>> tools, Boolean broadcastIntent)
-
registerTool
final Unit registerTool(VoiceTool<?> tool, Boolean broadcastIntent)
-
unregisterTool
final Boolean unregisterTool(String toolName, Boolean broadcastIntent)
-
unregisterAllTools
final Unit unregisterAllTools()
-
getRegisteredTools
final List<VoiceTool<?>> getRegisteredTools()
-
getToolDefinitions
final List<VoiceToolDefinition> getToolDefinitions()
-
updateToolsBasedOnPreconditions
final Unit updateToolsBasedOnPreconditions(Set<VoiceTool<?>> allVoiceTools)
-
getAvailableTools
final <ERROR CLASS> getAvailableTools()
-
getUnavailableTools
final <ERROR CLASS> getUnavailableTools()
-
isToolAvailable
final Boolean isToolAvailable(String toolName)
-
-
-
-