Package ai.meson.sdk
Class MesonSdkConfiguration
-
- All Implemented Interfaces:
public final class MesonSdkConfiguration
Configuration class which gets the sdk configuration from the publisher and then the object is passed to the SDK for the initialization
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
MesonSdkConfiguration.Builder
Builder class to set configuration and then build a MesonSdkConfiguration object
-
Method Summary
Modifier and Type Method Description final Context
getContext()
final String
getAppId()
final JSONObject
getConsent()
final Unit
setConsent(JSONObject consent)
final BaseMesonInit.MesonBuildType
getBuildType()
final Unit
setBuildType(BaseMesonInit.MesonBuildType buildType)
-
-
Method Detail
-
getContext
final Context getContext()
-
getConsent
final JSONObject getConsent()
-
setConsent
final Unit setConsent(JSONObject consent)
- Parameters:
consent
-JSONObject object created by the publisher to set the consent values buildType - Denotes the type of SDK integration whether it is China or Rest of World
-
getBuildType
final BaseMesonInit.MesonBuildType getBuildType()
-
setBuildType
final Unit setBuildType(BaseMesonInit.MesonBuildType buildType)
-
-
-
-