java.lang.Object
com.mparticle.sdk.model.audienceprocessing.Audience

public final class Audience extends Object
  • Constructor Details

    • Audience

      public Audience()
  • Method Details

    • getAudienceId

      public int getAudienceId()
      Returns:
      audience unique identifier
    • setAudienceId

      public void setAudienceId(int audienceId)
      Parameters:
      audienceId - audience unique identifier
    • getAudienceName

      public String getAudienceName()
      Returns:
      audience name
    • setAudienceName

      public void setAudienceName(String audienceName)
      Parameters:
      audienceName - audience name
    • getAudienceSubscriptionSettings

      public Map<String,String> getAudienceSubscriptionSettings()
      Returns:
      audience subscription settings
    • setAudienceSubscriptionSettings

      public void setAudienceSubscriptionSettings(Map<String,String> audienceSubscriptionSettings)
      Parameters:
      audienceSubscriptionSettings - audience subscription settings
    • getAudienceAction

      public Audience.AudienceAction getAudienceAction()
      Returns:
      the action taken on this audience
    • setAudienceAction

      public void setAudienceAction(Audience.AudienceAction audienceAction)
      Parameters:
      audienceAction - the action taken on this audience
    • getUserAttributes

      public List<UserAttributeAudienceEvent> getUserAttributes()
      Returns:
      user's attributes for this audience
    • setUserAttributes

      public void setUserAttributes(List<UserAttributeAudienceEvent> userAttributes)
      Parameters:
      userAttributes - user's attributes for this audience