Class RuntimeManager
Inheritance
Namespace: EasyMobile
Assembly: cs.temp.dll.dll
Syntax
public static class RuntimeManager
Methods
EnableUnityDebugLog(Boolean)
Enables or disables Unity debug log.
Declaration
public static void EnableUnityDebugLog(bool isEnabled)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isEnabled | If set to |
GetAppInstallationTimestamp()
Gets the installation timestamp of this app in local timezone. This timestamp is recorded when th Easy Mobile runtime is initialized for the first time so it's not really precise but can serve well as a rough approximation provided that the initialization is done soon after app launch.
Declaration
public static DateTime GetAppInstallationTimestamp()
Returns
Type | Description |
---|---|
System.DateTime | The installation timestamp. |
Init()
Initializes the Easy Mobile runtime. Always do this before accessing Easy Mobile API. It's recommended to initialize as early as possible, ideally as soon as the app launches. This method is a no-op if the runtime has been initialized before, so it's safe to be called multiple times. This method must be called on the main thread.
Declaration
public static void Init()
IsInitialized()
Determines whether the Easy Mobile runtime has been initialized or not.
Declaration
public static bool IsInitialized()
Returns
Type | Description |
---|---|
System.Boolean |
|