Package 

Class CTProductConfigController

    • Method Summary

      Modifier and Type Method Description
      ProductConfigSettings getSettings() Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
      void activate() Asynchronously activates the most recently fetched configs, so that the fetched key value pairs take effect.
      void fetch() Starts fetching configs, adhering to the default minimum fetch interval.
      void fetch(long minimumFetchIntervalInSeconds) Starts fetching configs, adhering to the specified minimum fetch interval in seconds.
      void fetchAndActivate() Asynchronously fetches and then activates the fetched configs.
      void fetchProductConfig() This method is internal to CleverTap SDK.Developers should not use this method manually.
      Boolean getBoolean(String Key) Returns the parameter value for the given key as a boolean.
      Double getDouble(String Key) Returns the parameter value for the given key as a double.
      long getLastFetchTimeStampInMillis() Returns the last fetched timestamp in millis.
      Long getLong(String Key) Returns the parameter value for the given key as a long.
      String getString(String Key) Returns the parameter value for the given key as a String.
      void onFetchFailed() This method is internal to CleverTap SDK.Developers should not use this method manually.
      void onFetchSuccess(JSONObject kvResponse) This method is internal to CleverTap SDK.Developers should not use this method manually.
      void reset() Deletes all activated, fetched and defaults configs as well as all Product Config settings.
      void resetSettings() Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.
      void setArpValue(JSONObject arp) This method is internal to CleverTap SDK.Developers should not use this method manually.
      void setDefaults(int resourceID) Sets default configs using an XML resource.
      void setDefaults(HashMap<String, Object> map) Sets default configs using the given HashMap.
      void setGuidAndInit(String cleverTapID) This method is internal to CleverTap SDK.Developers should not use this method manually.
      void setMinimumFetchIntervalInSeconds(long fetchIntervalInSeconds)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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.

      • 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.