Class GoogleImaAdDescription.Builder
-
- All Implemented Interfaces:
public final class GoogleImaAdDescription.Builder
The builder for the GoogleImaAdDescription.
-
-
Constructor Summary
Constructors Constructor Description GoogleImaAdDescription.Builder(String sources)
-
Method Summary
Modifier and Type Method Description final GoogleImaAdDescription.Builder
timeOffset(String timeOffset)
Sets the offset after which the ad break will start. final GoogleImaAdDescription
build()
Builds the GoogleImaAdDescription. -
-
Constructor Detail
-
GoogleImaAdDescription.Builder
GoogleImaAdDescription.Builder(String sources)
- Parameters:
sources
- The source which contains the location of the ad resources to be scheduled.
-
-
Method Detail
-
timeOffset
final GoogleImaAdDescription.Builder timeOffset(String timeOffset)
Sets the offset after which the ad break will start.
Possible formats:
A number for the offset in seconds.
A percentage string (XX%) for a proportion of the content duration.
A time-description specifying "start" or "end".
A timestamp of the format: 00:00:10.000.
- Parameters:
timeOffset
- The time offset after which the ad break will start.
-
build
final GoogleImaAdDescription build()
Builds the GoogleImaAdDescription.
-
-
-
-