public class POBProfileInfo
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
POBProfileInfo.CountryFilterMode
Typedef for country filter type
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COUNTRY_FILTERING_ALLOW_MODE |
static java.lang.String |
COUNTRY_FILTERING_BLOCK_MODE |
| Constructor and Description |
|---|
POBProfileInfo() |
| Modifier and Type | Method and Description |
|---|---|
static POBProfileInfo |
build(org.json.JSONObject profileJsonObject)
Initializes and returns POBProfileInfo object with given profile details
|
java.lang.String |
getAdServerName()
Returns the Ad Server
|
java.lang.String |
getCountryFilteringMode()
Returns country filtering mode, if configured at OW profile
|
long |
getCreatedDateTime()
Returns the last time the profile was updated
|
java.util.Set<java.lang.String> |
getFilteringCountries()
Retrieves the country list
|
int |
getProfileId()
Returns the Profile ID
|
int |
getPublisherId()
Returns the Pub ID
|
int |
getVersionId()
Returns the Profile Version display ID
|
boolean |
isProfileInfoExpired()
Function used to check of the profile is expired based on the expiry time set
|
public static final java.lang.String COUNTRY_FILTERING_ALLOW_MODE
public static final java.lang.String COUNTRY_FILTERING_BLOCK_MODE
public static POBProfileInfo build(@NonNull org.json.JSONObject profileJsonObject) throws org.json.JSONException
profileJsonObject - JSON object for the profile infoorg.json.JSONExceptionpublic int getProfileId()
public int getPublisherId()
public int getVersionId()
@Nullable public java.lang.String getAdServerName()
@Nullable public java.util.Set<java.lang.String> getFilteringCountries()
Set if available, else null@Nullable public java.lang.String getCountryFilteringMode()
public long getCreatedDateTime()
public boolean isProfileInfoExpired()