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