moveRooms

abstract fun moveRooms(oldContainerId: String, newContainerId: String, roomIds: List<String>, listener: RainbowListener<Pair<Container, List<InvalidRoom>?>, RoomContainerRepository.ContainerError>? = null)

Moves all of the room of the specified list of room ids from a container to another

Parameters

oldContainerId

String container's unique id

newContainerId

String container's unique id

roomIds

List rooms' unique ids

listener

RainbowListener?>, RoomContainerRepository.ContainerError>? (optional) callback (onSuccess, onError)