-
- All Implemented Interfaces:
-
android.os.Parcelable
public class CleverTapInstanceConfig implements Parcelable
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<CleverTapInstanceConfig>CREATORprivate StringaccountIdprivate StringaccountRegionprivate StringaccountTokenprivate StringproxyDomainprivate StringspikyProxyDomainprivate StringcustomHandshakeDomainprivate final ArrayList<PushType>pushTypesprivate booleananalyticsOnlyprivate booleanbackgroundSyncprivate intdebugLevelprivate booleandisableAppLaunchedEventprivate booleanenableCustomCleverTapIdprivate StringfcmSenderIdprivate booleanisDefaultInstanceprivate Loggerloggerprivate StringpackageNameprivate Array<String>identityKeysprivate intencryptionLevelprivate StringencryptionInTransitpublic final static StringKEY_ENCRYPTION_LEVEL
-
Method Summary
-
-
Method Detail
-
getAccountId
String getAccountId()
-
getAccountRegion
String getAccountRegion()
-
getAccountToken
String getAccountToken()
-
getProxyDomain
String getProxyDomain()
-
setProxyDomain
void setProxyDomain(String proxyDomain)
-
getSpikyProxyDomain
String getSpikyProxyDomain()
-
setSpikyProxyDomain
void setSpikyProxyDomain(String spikyProxyDomain)
-
getCustomHandshakeDomain
String getCustomHandshakeDomain()
-
setCustomHandshakeDomain
void setCustomHandshakeDomain(String handshakeDomain)
-
getPushTypes
@NonNull() ArrayList<PushType> getPushTypes()
-
setAnalyticsOnly
void setAnalyticsOnly(boolean analyticsOnly)
-
setBackgroundSync
void setBackgroundSync(boolean backgroundSync)
-
getDebugLevel
int getDebugLevel()
-
setDebugLevel
void setDebugLevel(CleverTapAPI.LogLevel debugLevel)
-
setDisableAppLaunchedEvent
void setDisableAppLaunchedEvent(boolean disableAppLaunchedEvent)
-
getEnableCustomCleverTapId
boolean getEnableCustomCleverTapId()
-
setEnableCustomCleverTapId
void setEnableCustomCleverTapId(boolean enableCustomCleverTapId)
-
getFcmSenderId
String getFcmSenderId()
-
isDefaultInstance
boolean isDefaultInstance()
-
getPackageName
String getPackageName()
-
getIdentityKeys
Array<String> getIdentityKeys()
-
setIdentityKeys
void setIdentityKeys(Array<String> identityKeys)
-
getEncryptionLevel
int getEncryptionLevel()
-
setEncryptionLevel
void setEncryptionLevel(EncryptionLevel encryptionLevel)
-
setEncryptionInTransit
void setEncryptionInTransit(boolean encryptionInTransit)
-
getDefaultInstance
static CleverTapInstanceConfig getDefaultInstance(Context context)
Creates a CleverTapInstanceConfig with meta data from manifest file
- Parameters:
context- Application context
-
createInstance
static CleverTapInstanceConfig createInstance(Context context, @NonNull() String accountId, @NonNull() String accountToken)
-
createInstance
static CleverTapInstanceConfig createInstance(@NonNull() Context context, @NonNull() String accountId, @NonNull() String accountToken, @Nullable() String accountRegion)
-
describeContents
int describeContents()
-
enablePersonalization
void enablePersonalization(boolean enablePersonalization)
-
addPushType
void addPushType(@NonNull() PushType allowedPushType)
-
isAnalyticsOnly
boolean isAnalyticsOnly()
-
isBeta
boolean isBeta()
-
log
@RestrictTo(value = RestrictTo.Scope.LIBRARY) void log(@NonNull() String tag, @NonNull() String message)
-
log
@RestrictTo(value = RestrictTo.Scope.LIBRARY) void log(@NonNull() String tag, @NonNull() String message, Throwable throwable)
-
useGoogleAdId
void useGoogleAdId(boolean value)
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
isBackgroundSync
@RestrictTo(value = Scope.LIBRARY) boolean isBackgroundSync()
-
isCreatedPostAppLaunch
boolean isCreatedPostAppLaunch()
-
isSslPinningEnabled
boolean isSslPinningEnabled()
-
isEncryptionInTransitEnabled
boolean isEncryptionInTransitEnabled()
-
-
-
-