-
- All Implemented Interfaces:
-
com.theoplayer.android.api.source.analytics.AnalyticsDescription
public class AgamaSourceConfiguration implements AnalyticsDescription
The Agama source configuration
- Overrides the AgamaPlayerConfiguration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
AgamaSourceConfiguration.Builder
The builder for the Agama source configuration.
-
Field Summary
Fields Modifier and Type Field Description private final AnalyticsIntegration
integration
private final String
asset
private final String
cdn
private final String
contentTitle
private final StreamType
streamType
private final String
contentType
private final String
contentDescription
private final AgamaServiceName
serviceName
-
Method Summary
Modifier and Type Method Description AnalyticsIntegration
getIntegration()
The identifier of the Agama integration. String
getAsset()
The identifier of the asset. String
getCdn()
The CDN from which the content is served. String
getContentTitle()
Title of the content. StreamType
getStreamType()
The stream type of the session. String
getContentType()
The type of the content. String
getContentDescription()
The description of the content. AgamaServiceName
getServiceName()
The Agama service name. boolean
equals(Object o)
int
hashCode()
-
-
Method Detail
-
getIntegration
@NonNull() AnalyticsIntegration getIntegration()
The identifier of the Agama integration.
-
getContentTitle
@Nullable() String getContentTitle()
Title of the content. (Nullable)
- The format is 'title' or 'title/season' or 'title/season/episode'.
Example:
- "Game of Thrones/Season 4/Episode 7"
-
getStreamType
@NonNull() StreamType getStreamType()
The stream type of the session.
-
getContentType
@Nullable() String getContentType()
The type of the content. (Nullable)
- Suggested values are 'trailer', 'movie', 'news', 'documentary', ...
-
getContentDescription
@Nullable() String getContentDescription()
The description of the content. (Nullable)
-
getServiceName
@Nullable() AgamaServiceName getServiceName()
The Agama service name.
-
hashCode
int hashCode()
-
-
-
-