uid | string | required | channelId | string | required |
Promise
uid | string | required | channelId | string | required |
Promies
string
void
void
string.
Promise
uid | string | user id|
(version) => {} required
string. user id
Promise
supports platform: ios, android This method do join channel with channelId
string
Promise
supports platform: ios, android This method do leave channel with channelId
string
Promise
Promise
supports platform: ios, android This method do logout.
Promise
string required
(evt) => {} required
string array
uid | string | required | channelId | string | required |
Promise
Promise
string []
Promise
supports platform: ios, android
This method do renewToken when got tokenExpired
event.
string
Promise
Promise
uid | string | required | channelId | string | required |
Promise
string.
string (bytesize shouldn't >= 32kb)
Promise
peerId | string | required | offline | boolean | requried |
Promise
string: specified the generated log path
LogLevel: sdk log level (0: "OFF", 0b1111: "INFO", 0b1110: "WARN", 0b1100: "ERROR", 0b1000: "CRITICAL")
number: file size in kbytes Note File size settings of less than 512 KB or greater than 10 MB will not take effect.
Promise
Generated using TypeDoc
RtmEngine
is the entry point of the react native agora rtm sdk. You can call the createClient method of RtmEngine to create anRtmEngine
instance.