public void initSDK(string appId, string appKey, ATSDKInitListener listener) { Debug.Log("initSDK...."); sdkInitListener = listener; try { if (this.sdkInitHelper != null) { this.sdkInitHelper.Call("initAppliction", appId, appKey); } } catch (System.Exception e) { System.Console.WriteLine("Exception caught: {0}", e); Debug.Log("ATSDKAPIClient : error." + e.Message); } }
public void initSDK(string appId, string appKey, ATSDKInitListener listener) { Debug.Log("Unity:ATSDKAPIClient::initSDK(string, string, ATSDKInitListener)"); bool started = ATManager.StartSDK(appId, appKey); if (listener != null) { if (started) { listener.initSuccess(); } else { listener.initFail("Failed to init."); } } }
public void initSDK(string appId, string appkey, ATSDKInitListener listener) { }
public static void initSDK(string appId, string appKey, ATSDKInitListener listener) { client.initSDK(appId, appKey, listener); }