KeyPackageApiV4
Functions
Link copied to clipboard
open suspend override fun claimKeyPackages(param: KeyPackageApi.Param): NetworkResponse<<Error class: unknown class>>
Claim a key package for each client of a given user.
Link copied to clipboard
open suspend override fun getAvailableKeyPackageCount(clientId: String): NetworkResponse<<Error class: unknown class>>
Get the number of available key packages for the self client
Link copied to clipboard
open suspend override fun replaceKeyPackages(clientId: String, keyPackages: List<<Error class: unknown class>>, cipherSuite: Int): NetworkResponse<Unit>
Upload and replace a batch fresh key packages from the self client
Link copied to clipboard
open suspend override fun uploadKeyPackages(clientId: String, keyPackages: List<<Error class: unknown class>>): NetworkResponse<Unit>
Upload a batch fresh key packages from the self client