-
@Deprecated() public class CTProductConfigController
Note: This class has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
-
Field Summary
Fields Modifier and Type Field Description private final ProductConfigSettingssettings
-
Method Summary
Modifier and Type Method Description ProductConfigSettingsgetSettings()Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK. voidactivate()Asynchronously activates the most recently fetched configs, so that the fetched key value pairs take effect. voidfetch()Starts fetching configs, adhering to the default minimum fetch interval. voidfetch(long minimumFetchIntervalInSeconds)Starts fetching configs, adhering to the specified minimum fetch interval in seconds. voidfetchAndActivate()Asynchronously fetches and then activates the fetched configs. voidfetchProductConfig()This method is internal to CleverTap SDK.Developers should not use this method manually. BooleangetBoolean(String Key)Returns the parameter value for the given key as a boolean. DoublegetDouble(String Key)Returns the parameter value for the given key as a double. longgetLastFetchTimeStampInMillis()Returns the last fetched timestamp in millis. LonggetLong(String Key)Returns the parameter value for the given key as a long. StringgetString(String Key)Returns the parameter value for the given key as a String. voidonFetchFailed()This method is internal to CleverTap SDK.Developers should not use this method manually. voidonFetchSuccess(JSONObject kvResponse)This method is internal to CleverTap SDK.Developers should not use this method manually. voidreset()Deletes all activated, fetched and defaults configs as well as all Product Config settings. voidresetSettings()Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK. voidsetArpValue(JSONObject arp)This method is internal to CleverTap SDK.Developers should not use this method manually. voidsetDefaults(int resourceID)Sets default configs using an XML resource. voidsetDefaults(HashMap<String, Object> map)Sets default configs using the given HashMap. voidsetGuidAndInit(String cleverTapID)This method is internal to CleverTap SDK.Developers should not use this method manually. voidsetMinimumFetchIntervalInSeconds(long fetchIntervalInSeconds)-
-
Method Detail
-
getSettings
@Deprecated() ProductConfigSettings getSettings()
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
activate
@Deprecated() void activate()
Asynchronously activates the most recently fetched configs, so that the fetched key value pairs take effect.
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
fetch
@Deprecated() void fetch()
Starts fetching configs, adhering to the default minimum fetch interval.
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
fetch
@Deprecated() void fetch(long minimumFetchIntervalInSeconds)
Starts fetching configs, adhering to the specified minimum fetch interval in seconds.
- Parameters:
minimumFetchIntervalInSeconds- - long value of secondsNote: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
fetchAndActivate
@Deprecated() void fetchAndActivate()
Asynchronously fetches and then activates the fetched configs.
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
fetchProductConfig
@Deprecated() void fetchProductConfig()
This method is internal to CleverTap SDK.Developers should not use this method manually.
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
getBoolean
@Deprecated() Boolean getBoolean(String Key)
Returns the parameter value for the given key as a boolean.
- Parameters:
Key- - String
-
getDouble
@Deprecated() Double getDouble(String Key)
Returns the parameter value for the given key as a double.
- Parameters:
Key- String
-
getLastFetchTimeStampInMillis
@Deprecated() long getLastFetchTimeStampInMillis()
Returns the last fetched timestamp in millis.
-
getLong
@Deprecated() Long getLong(String Key)
Returns the parameter value for the given key as a long.
- Parameters:
Key- - String
-
getString
@Deprecated() String getString(String Key)
Returns the parameter value for the given key as a String.
- Parameters:
Key- - String
-
onFetchFailed
@Deprecated() void onFetchFailed()
This method is internal to CleverTap SDK.Developers should not use this method manually.
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
onFetchSuccess
@Deprecated() void onFetchSuccess(JSONObject kvResponse)
This method is internal to CleverTap SDK.Developers should not use this method manually.
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
reset
@Deprecated() void reset()
Deletes all activated, fetched and defaults configs as well as all Product Config settings.
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
resetSettings
@Deprecated() void resetSettings()
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
setArpValue
@Deprecated() void setArpValue(JSONObject arp)
This method is internal to CleverTap SDK.Developers should not use this method manually.
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
setDefaults
@Deprecated() void setDefaults(int resourceID)
Sets default configs using an XML resource.
- Parameters:
resourceID- - resource Id of the XML.
-
setDefaults
@Deprecated() void setDefaults(HashMap<String, Object> map)
Sets default configs using the given HashMap.
- Parameters:
map- - HashMap of the default configsNote: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
setGuidAndInit
@Deprecated() void setGuidAndInit(String cleverTapID)
This method is internal to CleverTap SDK.Developers should not use this method manually.
Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
-
setMinimumFetchIntervalInSeconds
@Deprecated() void setMinimumFetchIntervalInSeconds(long fetchIntervalInSeconds)
-
-
-
-