kamome_flutter library

Constants

kamomeVersionCode → const int
The version code of the Kamome Flutter plugin.

Typedefs

CommandHandler = void Function(String commandName, Map<String, dynamic>? data, Completable completion)
LocalCompletionCallback = void Function(Object? result, String? error)
Calls when a command is processed using KamomeClient#execute(WithMap) method. An error is not null if the process of the command is failed.
ReadEventListener = void Function()
SendMessageCallback = void Function(String commandName, Object? result, String? error)
Receives a result that the native client receives it successfully from the JavaScript receiver when it processed a task of a commandName's command. An error when the native client receives it from the JavaScript receiver. If a task in JavaScript results in successful, the error will be null.

Exceptions / Errors

CommandNotAddedException