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 StringapiKeyprotected StringauthTokenprotected StringstreamActivityMonitorIDprotected Map<String, String>adTagParametersprotected SourceTypesourceType
-
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.BuilderauthToken(@NonNull() String authToken)Sets the authorization token for the stream request. GoogleDaiLiveConfiguration.BuilderstreamActivityMonitorID(@NonNull() String streamActivityMonitorID)Sets the identifier for a stream activity monitor session. GoogleDaiLiveConfiguration.BuilderadTagParameters(@NonNull() Map<String, String> adTagParameters)Sets the ad tag parameters which are added to the stream request. GoogleDaiLiveConfigurationbuild()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.
-
-
-
-