getAuthTokenByRoomCode

fun getAuthTokenByRoomCode(tokenRequest: TokenRequest, tokenRequestOptions: TokenRequestOptions? = null, hmsTokenListener: HMSTokenListener)

Fetch room token by shortcode.

Parameters

tokenRequest

shortcode of a room and optional userID

hmsTokenListener

return token if it was successful, otherwise error