Package com.bitheads.braincloud.services
Class TimeService
java.lang.Object
com.bitheads.braincloud.services.TimeService
public class TimeService extends Object
-
Constructor Summary
Constructors Constructor Description TimeService(BrainCloudClient client) -
Method Summary
Modifier and Type Method Description voidreadServerTime(IServerCallback callback)Method returns the server time in UTC.
-
Constructor Details
-
TimeService
-
-
Method Details
-
readServerTime
Method returns the server time in UTC. This is in UNIX millis time format. For instance 1396378241893 represents 2014-04-01 2:50:41.893 in GMT-4. Server API reference: ServiceName.Time, ServiceOperation.Read Service Name - Time Service Operation - Read- Parameters:
callback- The callback.
-