create Container
abstract fun createContainer(name: String, description: String? = null, roomIds: List<String>? = null, listener: IRoomContainerProxy.ICreateContainerListener? = null)
Content copied to clipboard
Creates a container with the specified parameters
The name of the container must be unique, otherwise the error code ContainersError.DUPLICATE_CONTAINER_NAME is returned in the ICreateContainerListener.onFailure(error) callback
Parameters
name
String container's name (should contains between 3 and 64 characters)
description
String? (optional) container's description (at most 255 characters)
roomIds
List
listener
ICreateContainerListener? (optional) callback (onSuccess, onFailure)