Package com.restfb.types.send
Class TargetAudience
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.send.TargetAudience
- All Implemented Interfaces:
Serializable
Represents the Messenger
Profile Target Audience
- See Also:
- Serialized Form
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAudience type.country object.void
setAudienceType(String audienceType)
Audience type.void
setCountries(TargetAudience.Countries countries)
country object.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
TargetAudience
public TargetAudience()
-
-
Method Details
-
getAudienceType
Audience type. Valid values include all, custom, or none. -
setAudienceType
Audience type. Valid values include all, custom, or none. -
getCountries
country object. Needs to be specified only when audience_type is custom. -
setCountries
country object. Needs to be specified only when audience_type is custom.
-