fun registerHandler(action: String, handler: IntentHandler): Unit (source)
Registers the given handler to be invoked for intents with the given action. If a handler is already present it will be overwritten.
action - the intent action which should trigger the provided handler.