RequestManager

interface RequestManager

Interface for making a request to Nimbus.

Inheritors

Types

Link copied to clipboard
interface Client

Override this interface to provide a custom Network client for the Nimbus SDK.

Link copied to clipboard
object Companion
Link copied to clipboard

Listener for Requests made using the RequestManager.

Properties

Link copied to clipboard
open val apiKey: String
Link copied to clipboard

Functions

Link copied to clipboard
open suspend fun makeRequest(context: Context, request: NimbusRequest): NimbusResponse
open fun <T : NimbusResponse.Listener, NimbusError.Listener> makeRequest(context: Context, request: NimbusRequest, listener: T)

Make a request to Nimbus.

Link copied to clipboard
fun RequestManager.notifyLoss(nimbusResponse: NimbusResponse, auctionData: AuctionData?, requestHandler: RequestHandler = Tracker.requestHandler, dispatcher: CoroutineDispatcher = Dispatchers.IO)

Notifies Nimbus of an external auction Loss

Link copied to clipboard
fun RequestManager.notifyWin(nimbusResponse: NimbusResponse, auctionData: AuctionData?, requestHandler: RequestHandler = Tracker.requestHandler, dispatcher: CoroutineDispatcher = Dispatchers.IO)

Notifies Nimbus of an external auction Win