Class GoogleDaiVodConfiguration.Builder
-
- All Implemented Interfaces:
public class GoogleDaiVodConfiguration.Builder extends GoogleDaiConfiguration.Builder
The builder for the Google DAI VOD configuration.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
apiKey
protected String
authToken
protected String
streamActivityMonitorID
protected Map<String, String>
adTagParameters
protected SourceType
sourceType
-
Constructor Summary
Constructors Constructor Description GoogleDaiVodConfiguration.Builder(String apiKey, String contentSourceID, String videoID)
Creates a builder for the Google DAI VOD configuration.
-
Method Summary
Modifier and Type Method Description GoogleDaiVodConfiguration.Builder
authToken(@NonNull() String authToken)
Sets the authorization token for the stream request. GoogleDaiVodConfiguration.Builder
streamActivityMonitorID(@NonNull() String streamActivityMonitorID)
Sets the identifier for a stream activity monitor session. GoogleDaiVodConfiguration.Builder
adTagParameters(@NonNull() Map<String, String> adTagParameters)
Sets the ad tag parameters which are added to the stream request. GoogleDaiVodConfiguration
build()
Builds the Google DAI VOD configuration. -
-
Constructor Detail
-
GoogleDaiVodConfiguration.Builder
GoogleDaiVodConfiguration.Builder(String apiKey, String contentSourceID, String videoID)
Creates a builder for the Google DAI VOD configuration.- Parameters:
apiKey
- The API key for the stream request.contentSourceID
- The identifier for the video content source for on-demand streams.videoID
- The identifier for the video content source for on-demand streams.
-
-
Method Detail
-
authToken
@NonNull() GoogleDaiVodConfiguration.Builder authToken(@NonNull() String authToken)
Sets the authorization token for the stream request.
- For more information, see GoogleDaiConfiguration#getAuthToken().
-
streamActivityMonitorID
@NonNull() GoogleDaiVodConfiguration.Builder streamActivityMonitorID(@NonNull() String streamActivityMonitorID)
Sets the identifier for a stream activity monitor session.
-
adTagParameters
@NonNull() GoogleDaiVodConfiguration.Builder adTagParameters(@NonNull() Map<String, String> adTagParameters)
Sets the ad tag parameters which are added to the stream request.
-
build
@NonNull() GoogleDaiVodConfiguration build()
Builds the Google DAI VOD configuration.
-
-
-
-