Class GoogleDaiConfiguration
-
- All Implemented Interfaces:
public abstract class GoogleDaiConfiguration extends SsaiDescription
The common Google DAI configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected abstract class
GoogleDaiConfiguration.Builder
The builder for the Google DAI configuration.
-
Field Summary
Fields Modifier and Type Field Description public StreamType
availabilityType
public String
apiKey
public String
authToken
public String
streamActivityMonitorID
public Map<String, String>
adTagParameters
public String
format
public final SsaiIntegration
integration
-
Constructor Summary
Constructors Constructor Description GoogleDaiConfiguration(StreamType availabilityType, String apiKey, String authToken, String streamActivityMonitorID, Map<String, String> adTagParameters, SourceType sourceType)
-
Method Summary
Modifier and Type Method Description StreamType
getAvailabilityType()
The type of the requested stream. String
getApiKey()
The API key for the stream request. String
getAuthToken()
The authorization token for the stream request. String
getStreamActivityMonitorID()
The identifier for a stream activity monitor session. Map<String, String>
getAdTagParameters()
The ad tag parameters added to stream request. String
getFormat()
The format of the stream. boolean
equals(Object o)
int
hashCode()
-
-
Constructor Detail
-
GoogleDaiConfiguration
GoogleDaiConfiguration(StreamType availabilityType, String apiKey, String authToken, String streamActivityMonitorID, Map<String, String> adTagParameters, SourceType sourceType)
-
-
Method Detail
-
getAvailabilityType
@NonNull() StreamType getAvailabilityType()
The type of the requested stream.
- Returns:
The StreamType. (NonNull)
-
getApiKey
@NonNull() String getApiKey()
The API key for the stream request. (NonNull)
- This key is used to verify applications that are attempting to access the content.
- This key is configured through the Google Ad Manager UI.
-
getAuthToken
@Nullable() String getAuthToken()
The authorization token for the stream request. (Nullable)
- This token is used for stricter content authorization.
- The publisher can control individual content streams authorizations based on this token.
-
getStreamActivityMonitorID
@Nullable() String getStreamActivityMonitorID()
The identifier for a stream activity monitor session. (Nullable)
-
getAdTagParameters
@Nullable() Map<String, String> getAdTagParameters()
The ad tag parameters added to stream request.
- Each entry contains the parameter name with associated value.
- Returns:
Map of ad tag parameters. (Nullable)
-
hashCode
int hashCode()
-
-
-
-