SDK for communicating with the bytebeam cloud from a flutter app. See example app for usage instructions.
-
void initializeBytebeamClient
Initiate connection to the backend using this configuration. The SDK manages a global connection and the old one is terminated if this function is called again. You can pass a callback that will be invoked for incoming actions. -
sendMessage
Send a message to the bytebeam cloud using the global connection. If responding to incoming actions. -
sdkInitialized
You can use this function to check if the sdk has been initialized. -
actionResponse
A utility function you can use to create a payload that you can pass tosendMessage
.