Delivery

interface Delivery

Implementations of this interface deliver Error Reports and Sessions captured to the Bugsnag API.

A default Delivery implementation is provided as part of Bugsnag initialization, but you may wish to use your own implementation if you have requirements such as pinning SSL certificates, for example.

Any custom implementation must be capable of sending Error Reports and Sessions as documented at https://docs.bugsnag.com/api/

See also

DefaultDelivery

Functions

Link copied to clipboard
abstract fun deliver(payload: EventPayload, deliveryParams: DeliveryParams): DeliveryStatus

Posts an Error Report to the Bugsnag Error Reporting API.

abstract fun deliver(payload: Session, deliveryParams: DeliveryParams): DeliveryStatus

Posts an array of sessions to the Bugsnag Session Tracking API.