getUserQuotaConsumption

abstract fun getUserQuotaConsumption(listener: RainbowListener<Consumption, Unit>? = null): Consumption?

Retrieves the current file storage consumption and quota associated to the connected user.

The method takes a RainbowListener object as parameter, in case of success, the callback returns a Consumption object.

Return

Consumption object of the last call of this method, or null for its first call

Parameters

listener

RainbowListener callback (onSuccess, onError)