updateContainer

abstract fun updateContainer(containerId: String, newName: String, newDescription: String? = null, listener: RainbowListener<Container, RoomContainerRepository.ContainerError>? = null)

Updates a container identified by the given containerId

The same rules applies as the container creation

Parameters

containerId

String container's unique id

newName

String container's new name (could be unchanged)

newDescription

String container's new description (could be unchanged)

listener

RainbowListener? (optional) callback (onSuccess, onError)