Agora-Flutter-RTM-SDK
Agora-Flutter-RTM-SDK copied to clipboard
More Readable status and error codes

Currently the API returns state and reason as an integer. It would be more readable to return a ConnectionState
type and some with reason, so that it can be more readable. The if statement would look more like
if(state == ConnectionState.aborted)
good point, it will be optimized next version, but not so far.
Hello, I am struggle with this too. No document or error code. Just int and int
you can follow the doc about android or ios.
The latest version supports readable status