core / ai.meson.sdk / MesonSdkConfiguration / Builder

Builder

class Builder

Builder class to set configuration and then build a MesonSdkConfiguration object

Constructors

<init>

Builder(mContext: Context, mAccountId: String)

Builder class to set configuration and then build a MesonSdkConfiguration object

Functions

build

fun build(): MesonSdkConfiguration

Builds a MesonSdkConfiguration object using the configuration passed to Builder class

setConsent

fun setConsent(consent: JSONObject?): Builder

Sets the GDPR Consent passed by the publisher