public static void OnGlobalError(IntPtr onGlobalErrorActionPtr, string serializedError) { GetSocialDebugLogger.D("OnGlobalError : " + serializedError); var error = new GetSocialError().ParseFromJson(serializedError); IOSUtils.TriggerCallback(onGlobalErrorActionPtr, error); }
public static void FailureCallback(IntPtr actionPtr, string serializedError) { GetSocialDebugLogger.D("FailureCallback: " + serializedError + ", ptr: " + actionPtr.ToInt32()); var error = new GetSocialError().ParseFromJson(serializedError); IOSUtils.TriggerCallback(actionPtr, error); }