Companion

object Companion

Properties

Link copied to clipboard

Sets a timeout in milliseconds for interceptors to all subsequent requests

Functions

Link copied to clipboard

Get the current App object used for requests.

Link copied to clipboard

Get the current network client

Link copied to clipboard

Get the global url that defaults for all newly created NimbusRequest objects

Link copied to clipboard

Get the current session id.

Link copied to clipboard

Get the current User object used for requests.

Link copied to clipboard
fun setApp(openRTBApp: App?)

Set App information to be used with all future requests.

Link copied to clipboard

Set a list of blocked advertiser domains for all requests

Link copied to clipboard

Set the networking client to be used for all outbound request to Nimbus.

Link copied to clipboard
fun setGdprConsent(consentString: String?)

Sets the GDPR Consent string and user consent for all Nimbus Requests

Link copied to clipboard
fun setRequestUrl(requestUrl: String?)

Set the the global url to default for all newly created NimbusRequest objects

Link copied to clipboard

Set the session id to be used for all future requests.

Link copied to clipboard
fun setUser(openRTBUser: User?)

Set the user information to be appended to all future requests.