new IWLocationInputHandler()
Creates a new handler.
Methods
-
canHandle(input)
-
Implement this method to determine if your handler is able to handle the input string.
Parameters:
Name Type Description input
string the input string Returns:
- Type
- boolean
-
handle(input)
-
Implement this to handle an input string by calling triggerLocationFound with the result.
Parameters:
Name Type Description input
string the input string Returns:
- Type
- void
-
triggerError()
-
Call this function with an error message.
-
triggerLocationFound()
-
Call this function with the result.