Companion

object Companion

Properties

Link copied to clipboard

A global list of extended user ids to be appended to all outbound requests

Functions

Link copied to clipboard
inline fun addExtendedId(source: String, id: String, extensions: Map<String, String> = emptyMap()): Boolean

Add a user identifier to the global set of extended IDs appended to all outbound requests to Nimbus.

Link copied to clipboard
inline fun setApp(app: App?)

Set an App object to be appended to all future requests or set to null to clear it

Link copied to clipboard
inline fun setBlockedAdvertiserDomains(vararg blockedAdvertisers: String)

Set a list of blocked advertiser domains for all future requests

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

Sets the GDPR Consent string for all future Nimbus Requests.

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

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

Link copied to clipboard
inline fun setSessionId(sessionId: String)

Set the session id to be used for all future requests

Link copied to clipboard
inline fun setUser(user: User?)

Set the User object to be appended to all future requests or set to null to clear it