enqueueAddHttpPusher

abstract fun enqueueAddHttpPusher(httpPusher: HttpPusher): UUID

Enqueues a new HTTP pusher via the WorkManager API. Ref: https://matrix.org/docs/spec/client_server/latest#post-matrix-client-r0-pushers-set

Return

A work request uuid. Can be used to listen to the status (LiveData status = workManager.getWorkInfoByIdLiveData())

Throws

InvalidParameterException

if a parameter is not correct