changeMetadata

fun changeMetadata(metadata: String, hmsActionResultListener: HMSActionResultListener)

Change the metadata that appears inside HMSPeer.metadata. This change is persistent and all peers joining after the change will still see these values.

Parameters

metadata

the name to change HMSPeer.metadata to.

hmsActionResultListener

A callback whose HMSActionResultListener.onSuccess will be called when the the action completes.