private void onFailure_Event(AndroidJavaObject inResponse) { GenieResponseWrapper response = new GenieResponseWrapper(inResponse); if (response.getError() == kError_GenieNotInstalled) { Genie.instance.OnGenieNotInstalled(); } else { Assert.Fail("Error on DataExport: {0}", response.getError()); } }
public override void Process(GenieResponseWrapper inWrapper) { if (inWrapper.getStatus() != "successful") { Debug.LogFormat("Sending this event was unsuccessful: {0}", inWrapper.getError()); } else { Logger.Log("Send was successful!"); } }
public override void Process(GenieResponseWrapper inWrapper) { Genie.I.IsSyncing = false; if (inWrapper.getStatus() != "successful") { Debug.LogWarningFormat("Unable to sync with Genie: {0}", inWrapper.getError()); } else { Logger.Log("Sync was successful!"); } }