getFeatureFlags

Returns the feature flags API.

Example:


  PushwooshFeatureFlags flags = Pushwoosh.getInstance().getFeatureFlags();
  boolean newCheckout = flags.isEnabled("new_checkout", false);
  flags.logImpression("new_checkout"); // both branches: the disabled one is the control group
  if (newCheckout) {
      showNewCheckout();
  } else {
      showOldCheckout();
  }

Return

the feature flags API, one instance per process; safe to call and to keep before the SDK is initialized