-
- All Implemented Interfaces:
public class SpotXAdDescription extends AdDescription
Describes a SpotX ad break request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
SpotXAdDescription.SpotXData
A record of SpotX query string parameters. Each entry contains the parameter name with associated value.
public class
SpotXAdDescription.SpotXDataQueryParameter
A record of SpotX query string parameters which can be a nested structure. Each entry contains the parameter name with associated value.
public class
SpotXAdDescription.Geo
Describes a geographical location.
public class
SpotXAdDescription.Builder
The builder for the SpotXAdDescription.
-
Field Summary
Fields Modifier and Type Field Description private final String
id
private final String
maximumAdDuration
private final String
ipAddress
private final SpotXAdDescription.SpotXDataQueryParameter
queryParameters
-
Method Summary
Modifier and Type Method Description String
getId()
The identifier of the ad break requested from SpotX. String
getMaximumAdDuration()
The maximum duration of the ad. String
getIpAddress()
The IP address of the viewer. SpotXAdDescription.SpotXDataQueryParameter
getQueryParameters()
A record of query string parameters added to the SpotX ad break request. boolean
isCacheBuster()
Returns whether the ad break request should contain a cache buster. boolean
equals(Object o)
int
hashCode()
-
-
Method Detail
-
getMaximumAdDuration
@Nullable() String getMaximumAdDuration()
The maximum duration of the ad.
-
getIpAddress
@Nullable() String getIpAddress()
The IP address of the viewer.
-
getQueryParameters
@Nullable() SpotXAdDescription.SpotXDataQueryParameter getQueryParameters()
A record of query string parameters added to the SpotX ad break request.
- Each entry contains the parameter name with associated value.
- For more information, see SpotXDataQueryParameter.
-
isCacheBuster
boolean isCacheBuster()
Returns whether the ad break request should contain a cache buster. (Nullable)
- A cache buster adds a query parameter 'cb' with a random value to circumvent caching mechanisms.
-
hashCode
int hashCode()
-
-
-
-