Package 

Class SDKPrefManager


  • 
    public class SDKPrefManager
    
                        

    Manages the shared preferences for the SDK.

    • Method Summary

      Modifier and Type Method Description
      static void register(Context context) Registers the shared preferences with the given context.
      static void setIsMainHistoryLoadingForFirstTime(boolean readyToSendSubscribe) Sets whether the main history is loading for the first time.
      static boolean getIsMainHistoryLoadingForFirstTime() Checks if the main history is loading for the first time.
      static void setLastOnlineTime(long lastOnlineTime) Sets the last online time.
      static long getLastOnlineTime() Retrieves the last online time.
      • Methods inherited from class java.lang.Object

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

      • register

         static void register(Context context)

        Registers the shared preferences with the given context.

        Parameters:
        context - The context to use for accessing shared preferences.
      • setIsMainHistoryLoadingForFirstTime

         static void setIsMainHistoryLoadingForFirstTime(boolean readyToSendSubscribe)

        Sets whether the main history is loading for the first time.

        Parameters:
        readyToSendSubscribe - True if ready to send subscribe, false otherwise.
      • setLastOnlineTime

         static void setLastOnlineTime(long lastOnlineTime)

        Sets the last online time.

        Parameters:
        lastOnlineTime - The last online time to set.