Class Audience
java.lang.Object
com.mparticle.sdk.model.audienceprocessing.Audience
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
setAudienceAction
(Audience.AudienceAction audienceAction) void
setAudienceId
(int audienceId) void
setAudienceName
(String audienceName) void
setAudienceSubscriptionSettings
(Map<String, String> audienceSubscriptionSettings) void
setUserAttributes
(List<UserAttributeAudienceEvent> userAttributes)
-
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
- Returns:
- audience name
-
setAudienceName
- Parameters:
audienceName
- audience name
-
getAudienceSubscriptionSettings
- Returns:
- audience subscription settings
-
setAudienceSubscriptionSettings
- Parameters:
audienceSubscriptionSettings
- audience subscription settings
-
getAudienceAction
- Returns:
- the action taken on this audience
-
setAudienceAction
- Parameters:
audienceAction
- the action taken on this audience
-
getUserAttributes
- Returns:
- user's attributes for this audience
-
setUserAttributes
- Parameters:
userAttributes
- user's attributes for this audience
-