Class Consent

java.lang.Object
com.flurry.android.Consent
Direct Known Subclasses:
FlurryConsent

public abstract class Consent extends Object
  • Field Details

  • Constructor Details

    • Consent

      public Consent()
  • Method Details

    • isGdprScope

      public boolean isGdprScope()
      Whether is in GDPR scope
      Returns:
      true if in GDPR scope, false otherwise
    • getConsentStrings

      public Map<String,String> getConsentStrings()
      Get consent Strings corresponding
      Returns:
      consent strings map
    • getGppString

      public String getGppString()
      Get IAB GPP String for the IAB Global Privacy Platform (GPP).
      Returns:
      IAB GPP String
    • getGppSectionIds

      public Set<Integer> getGppSectionIds()
      Get Integer set of IAB GPP section ids for the IAB Global Privacy Platform (GPP).
      Returns:
      Integer set of IAB GPP section ids
    • idsToString

      public String idsToString(Set<Integer> ids)
      A modified version of AbstractCollection.toString.
      Parameters:
      ids - Set of integer IDs.
      Returns:
      String format of integers separated by common
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object