Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 713 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 713 Bytes

Bytebeam Flutter Sdk

SDK for communicating with the bytebeam cloud from a flutter app. See example app for usage instructions.

API

  • 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 to sendMessage.