Class GoogleDaiLiveConfiguration.Builder
-
- All Implemented Interfaces:
public final class GoogleDaiLiveConfiguration.Builder extends GoogleDaiConfiguration.Builder
The builder for the Google DAI live configuration.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringauthTokenprotected StringstreamActivityMonitorIDprotected Map<String, String>adTagParametersprotected StringapiKey
-
Constructor Summary
Constructors Constructor Description GoogleDaiLiveConfiguration.Builder(String apiKey, String assetKey)
-
Method Summary
Modifier and Type Method Description GoogleDaiLiveConfiguration.BuilderauthToken(String authToken)Sets the authorization token for the stream request. GoogleDaiLiveConfiguration.BuilderstreamActivityMonitorID(String streamActivityMonitorID)Sets the identifier for a stream activity monitor session. GoogleDaiLiveConfiguration.BuilderadTagParameters(Map<String, String> adTagParameters)Sets the ad tag parameters which are added to the stream request. final GoogleDaiLiveConfigurationbuild()Builds the Google DAI live configuration. -
-
Method Detail
-
authToken
GoogleDaiLiveConfiguration.Builder authToken(String authToken)
Sets the authorization token for the stream request.
For more information, see GoogleDaiConfiguration.getAuthToken.
- Parameters:
authToken- The authorization token.
-
streamActivityMonitorID
GoogleDaiLiveConfiguration.Builder streamActivityMonitorID(String streamActivityMonitorID)
Sets the identifier for a stream activity monitor session.
- Parameters:
streamActivityMonitorID- The stream activity monitor identifier.
-
adTagParameters
GoogleDaiLiveConfiguration.Builder adTagParameters(Map<String, String> adTagParameters)
Sets the ad tag parameters which are added to the stream request.
- Parameters:
adTagParameters- The ad tag parameters.
-
build
final GoogleDaiLiveConfiguration build()
Builds the Google DAI live configuration.
-
-
-
-