setCredentials

suspend fun setCredentials(credentials: Credential)

Sets the credentials, providing authentication information required for connecting to the streaming platform.

Parameters

credentials

The credentials.

Throws

An exception thrown in the case of encountering issues during execution of the method.