getUserQuotaConsumption

abstract suspend fun getUserQuotaConsumption(): RainbowResult<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

listener RainbowResult callback (onSuccess, onError)