public interface TimoCloudCoreAPI
Modifier and Type | Method and Description |
---|---|
void |
registerCommandHandler(CommandHandler commandHandler,
java.lang.String... commands)
Register a command handler.
|
void |
unregisterCommandHandler(java.lang.String... commands)
Unregister a command handler.
|
void registerCommandHandler(CommandHandler commandHandler, java.lang.String... commands)
commandHandler
- The handler which shall get notified about commandscommands
- The commands the handler shall be notified aboutvoid unregisterCommandHandler(java.lang.String... commands)
commands
- Unregisters all of the handlers assigned to these commands