Package ai.meson.sdk
Class MesonSdkConfiguration.Builder
-
- All Implemented Interfaces:
public final class MesonSdkConfiguration.Builder
Builder class to set configuration and then build a MesonSdkConfiguration object
-
-
Constructor Summary
Constructors Constructor Description MesonSdkConfiguration.Builder(Context mContext, String mAppId)
-
Method Summary
Modifier and Type Method Description final MesonSdkConfiguration.Builder
setConsent(JSONObject consent)
Sets the GDPR Consent passed by the publisher final MesonSdkConfiguration.Builder
setBuildType(BaseMesonInit.MesonBuildType buildType)
final MesonSdkConfiguration
build()
Builds a MesonSdkConfiguration object using the configuration passed to Builder class -
-
Method Detail
-
setConsent
@Deprecated(message = "This API is going to be removed soon. |Please use MesonSdk.setConsent(consent)", level = DeprecationLevel.WARNING) final MesonSdkConfiguration.Builder setConsent(JSONObject consent)
Sets the GDPR Consent passed by the publisher
- Parameters:
consent
-JSONObject object created by the publisher to set the consent values
-
setBuildType
@Deprecated(message = "This API is going to be removed soon.", level = DeprecationLevel.WARNING) final MesonSdkConfiguration.Builder setBuildType(BaseMesonInit.MesonBuildType buildType)
-
build
final MesonSdkConfiguration build()
Builds a MesonSdkConfiguration object using the configuration passed to Builder class
-
-
-
-