Package com.restfb.types
Klasse Post.Targeting
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.Post.Targeting
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
Post.FeedTargeting
- Umschließende Klasse:
Post
- Siehe auch:
-
Feldübersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
addCity
(Post.KeyedType city) boolean
addCountry
(String country) boolean
boolean
addRegion
(Post.KeyedType region) Values of targeting cities.Values of targeting countries.Targeted locales.Values of targeting regions.boolean
removeCity
(NamedFacebookType city) boolean
removeCountry
(String country) boolean
removeLocale
(Integer locale) boolean
removeRegion
(NamedFacebookType region) void
setGeoLocations
(Post.FeedTargeting geoLocations) Von Klasse geerbte Methoden com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Felddetails
-
cities
-
countries
-
regions
-
locales
-
-
Konstruktordetails
-
Targeting
public Targeting()
-
-
Methodendetails
-
addCity
-
addCountry
-
addLocale
-
addRegion
-
getCities
Values of targeting cities. Use type of adcity to find Targeting Options and use the returned key to specify.- Gibt zurück:
- list of cities
-
getCountries
Values of targeting countries. You can specify up to 25 countries. Use ISO 3166 format codes.- Gibt zurück:
- list of targeting countries.
-
getLocales
Targeted locales. Use type of adlocale to find Targeting Options and use the returned key to specify.- Gibt zurück:
- list of locales
-
getRegions
Values of targeting regions. Use type ofadregion
to find Targeting Options and use the returned key to specify.- Gibt zurück:
- list of regions
-
removeCity
-
removeCountry
-
removeLocale
-
removeRegion
-
getGeoLocations
-
setGeoLocations
-