BlueKai

class BlueKai

Types

Companion
Link copied to clipboard
object Companion

Functions

getContext
Link copied to clipboard
fun getContext(): Context
getOptInPreference
Link copied to clipboard
fun getOptInPreference(): Boolean
Method to get user opt-in or opt-out preference
getUserAgent
Link copied to clipboard
fun getUserAgent(): String
put
Link copied to clipboard
fun put(key: String?, value: String?)
Method to send data to BlueKai.
fun put(email: String?, key: String?, value: String?)
Method to send data to BlueKai with hashemail value.
fun put(customerIdkey: String?, customerIdValue: String?, key: String?, value: String?)
Method to send data to BlueKai with Unique Customer id and andValue.
putAll
Link copied to clipboard
fun putAll(map: Map<String, String>)
Convenience method to send a bunch of key-value pairs to BlueKai
fun putAll(email: String?, map: MutableMap<String, String>)
Convenience method to send a bunch of key-value pairs to BlueKai with hashemail value
fun putAll(customerIdkey: String?, customerIdValue: String?, map: MutableMap<String, String>)
Convenience method to send a bunch of key-value pairs to BlueKai with unique customer id and value
resume
Link copied to clipboard
fun resume()
Method to resume BlueKai process after calling application resumes.
setAppContext
Link copied to clipboard
fun setAppContext(context: Context)
setOptIn
Link copied to clipboard
fun setOptIn(optIn: Boolean)
Method to set user opt-in or opt-out preference
setOptInPreference
Link copied to clipboard
fun setOptInPreference(optIn: Boolean)
Method to set user opt-in or opt-out preference
setUserAgent
Link copied to clipboard
fun setUserAgent(userAgent: String)

Properties

activity
Link copied to clipboard
var activity: Activity? = null
appVersion
Link copied to clipboard
var appVersion: String?
dataPostedListener
Link copied to clipboard
var dataPostedListener: DataPostedListener? = null
devMode
Link copied to clipboard
var devMode: Boolean?
handler
Link copied to clipboard
var handler: Handler? = null
httpsEnabled
Link copied to clipboard
var httpsEnabled: Boolean? = null
siteId
Link copied to clipboard
var siteId: String?