public static void Init(string appId, string appKey, Auth.Callback callback) { if (appId == null || appKey == null || callback == null) { throw new InvalidOperationException("publicKey == null || appId == null || callback == null"); } ApiWrapper apiWrapper = new ApiWrapper(); ApiWrapper.InitCallback initCallback = new MyInitCallback(callback); apiWrapper.Init(appId, appKey, initCallback); }
public MyInitCallback(Auth.Callback authCallback) { mAuthCallback = authCallback; }