public void onFailedToUpdateConsentInfo(ConsentManagerException error) { Debug.Log($"onFailedToUpdateConsentInfo"); if (error == null) { return; } Debug.Log($"onFailedToUpdateConsentInfo Reason: {error.getReason()}"); switch (error.getCode()) { case 0: Debug.Log("onFailedToUpdateConsentInfo - UNKNOWN"); break; case 1: Debug.Log( "onFailedToUpdateConsentInfo - INTERNAL - Error on SDK side. Includes JS-bridge or encoding/decoding errors"); break; case 2: Debug.Log("onFailedToUpdateConsentInfo - NETWORKING - HTTP errors, parse request/response "); break; case 3: Debug.Log("onFailedToUpdateConsentInfo - INCONSISTENT - Incorrect SDK API usage"); break; } }
private void onConsentFormError(UnityEngine.AndroidJavaObject exception) { var consentManagerException = new ConsentManagerException(new AndroidConsentManagerException(exception)); listener.onConsentFormError(consentManagerException); }
public void onConsentFormError(ConsentManagerException exception) { Debug.Log($"ConsentFormListener - onConsentFormError, reason - {exception.getReason()}"); }