code: public static void setUserConsent(boolean value) {
          boolean hadUserConsent = hasUserConsent();
          WonderPushConfiguration.setUserConsent(value);
          boolean nowHasUserConsent = hasUserConsent();
          if (sIsInitialized && hadUserConsent != nowHasUserConsent) {
              hasUserConsentChanged(nowHasUserConsent);
          }
      }
docs: Provides or withdraws user consent.
  
  <p>Call this method after {@link #initialize(Context)}.</p>
  
  @param value Whether the user provided or withdrew consent.
  @see #setRequiresUserConsent(boolean)