fetchContainers

abstract fun fetchContainers(limit: Int = 100, offset: Int = 0, sortOrder: Int = 1, listener: RainbowListener<List<Container>, RoomContainerRepository.ContainerError>? = null)

Fetch a container list on the server

Parameters

limit

Int maximum number of containers to fetched

offset

Int specify the position of first container to retrieve

sortOrder

Int specify order when sorting the container list (1 ascending, -1 descending)

listener

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