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