Class GoogleDaiConfiguration.Builder
-
- All Implemented Interfaces:
public abstract class GoogleDaiConfiguration.Builder
The builder for the Google DAI 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 GoogleDaiConfiguration.Builder(String apiKey)
Creates a builder for the Google DAI configuration.
-
Method Summary
Modifier and Type Method Description GoogleDaiConfiguration.Builder
authToken(@NonNull() String authToken)
Sets the authorization token for the stream request. GoogleDaiConfiguration.Builder
streamActivityMonitorID(@NonNull() String streamActivityMonitorID)
Sets the identifier for a stream activity monitor session. GoogleDaiConfiguration.Builder
adTagParameters(@NonNull() Map<String, String> adTagParameters)
Sets the ad tag parameters which are added to the stream request. -
-
Constructor Detail
-
GoogleDaiConfiguration.Builder
GoogleDaiConfiguration.Builder(String apiKey)
Creates a builder for the Google DAI configuration.- Parameters:
apiKey
- The API key for the stream request.
-
-
Method Detail
-
authToken
@NonNull() GoogleDaiConfiguration.Builder authToken(@NonNull() String authToken)
Sets the authorization token for the stream request.
- For more information, see getAuthToken.
- Parameters:
authToken
- The authorization token.
-
streamActivityMonitorID
@NonNull() GoogleDaiConfiguration.Builder streamActivityMonitorID(@NonNull() String streamActivityMonitorID)
Sets the identifier for a stream activity monitor session.
- Parameters:
streamActivityMonitorID
- The stream activity monitor identifier.
-
adTagParameters
@NonNull() GoogleDaiConfiguration.Builder adTagParameters(@NonNull() Map<String, String> adTagParameters)
Sets the ad tag parameters which are added to the stream request.
- Parameters:
adTagParameters
- The ad tag parameters.
-
-
-
-