@@ -103,6 +103,8 @@ namespace gameanalytics
103103 static void endSession ();
104104
105105 static std::string getRemoteConfigsValueAsString (std::string const & key, std::string const & defaultValue = " " );
106+ static std::string getRemoteConfigsValueAsJson (std::string const & key);
107+
106108
107109 static bool isRemoteConfigsReady ();
108110 static void addRemoteConfigsListener (const std::shared_ptr<IRemoteConfigsListener> &listener);
@@ -116,6 +118,9 @@ namespace gameanalytics
116118 static std::string getABTestingId ();
117119 static std::string getABTestingVariantId ();
118120
121+ static int64_t getElapsedSessionTime ();
122+ static int64_t getElapsedTimeFromAllSessions ();
123+
119124 // game state changes
120125 // will affect how session is started / ended
121126 static void onResume ();
@@ -125,10 +130,9 @@ namespace gameanalytics
125130 static bool isThreadEnding ();
126131
127132 private:
128- static bool _endThread;
129133
130- static bool isSdkReady (bool needsInitialized);
131- static bool isSdkReady (bool needsInitialized, bool warn);
132- static bool isSdkReady (bool needsInitialized, bool warn, std::string const & message);
134+ static bool _endThread;
135+ static bool isSdkReady (bool needsInitialized, bool warn = true , std::string const & message = " " );
133136 };
137+
134138} // namespace gameanalytics
0 commit comments