fetchFileReceived

abstract fun fetchFileReceived(limit: Int, offset: Int, listener: RainbowListener<List<RainbowFileDescriptor>, Unit>? = null)

Fetches a list of received RainbowFileDescriptor This method accept a limit and an offset parameters for pagination, when limit is set to 0, the API returns a maximum of 100 results. If offset is greater that the limit of received RainbowFileDescriptor, no results are returned. This method does not filters results.

Parameters

limit

Int a strictly positive integer representing the maximum number of RainbowFileDescriptor to fetch

offset

Int a strictly positive integer representing the position of the first RainbowFileDescriptor to fetch

listener

RainbowListenerRainbowFileDescriptor>, Unit> callback(onSuccess, onError)