-
- All Implemented Interfaces:
public class AgamaSourceConfiguration.BuilderThe builder for the Agama source configuration.
-
-
Constructor Summary
Constructors Constructor Description AgamaSourceConfiguration.Builder(String asset, StreamType streamType)Creates a builder for the Agama source configuration.
-
Method Summary
Modifier and Type Method Description static AgamaSourceConfiguration.BuilderagamaSourceConfiguration(@NonNull() String asset, @NonNull() StreamType streamType)Creates a builder for the Agama source configuration. AgamaSourceConfiguration.Buildercdn(@NonNull() String cdn)Sets the CDN from which the content is served. AgamaSourceConfiguration.BuildercontentTitle(@NonNull() String contentTitle)Sets the title of the content. AgamaSourceConfiguration.BuildercontentType(@NonNull() String contentType)Sets the type of the content. AgamaSourceConfiguration.BuildercontentDescription(@NonNull() String contentDescription)Sets the description of the content. AgamaSourceConfiguration.BuilderserviceName(@NonNull() AgamaServiceName serviceName)Sets the AgamaServiceName. AgamaSourceConfigurationbuild()Builds the Agama source configuration. -
-
Constructor Detail
-
AgamaSourceConfiguration.Builder
AgamaSourceConfiguration.Builder(String asset, StreamType streamType)
Creates a builder for the Agama source configuration.- Parameters:
asset- The identifier of the asset.streamType- The StreamType of the session.
-
-
Method Detail
-
agamaSourceConfiguration
@Deprecated()@NonNull() static AgamaSourceConfiguration.Builder agamaSourceConfiguration(@NonNull() String asset, @NonNull() StreamType streamType)
Creates a builder for the Agama source configuration.
Deprecated: Superseded by Builder , since v4.0.0.
- Parameters:
asset- The identifier of the asset.streamType- The StreamType of the session.
-
cdn
@NonNull() AgamaSourceConfiguration.Builder cdn(@NonNull() String cdn)
Sets the CDN from which the content is served.
Example:
- "cloudflare"
- Parameters:
cdn- The CDN.
-
contentTitle
@NonNull() AgamaSourceConfiguration.Builder contentTitle(@NonNull() String contentTitle)
Sets the title of the content.
- The format is 'title' or 'title/season' or 'title/season/episode'.
Example:
- "Game of Thrones/Season 4/Episode 7"
- Parameters:
contentTitle- The content title.
-
contentType
@NonNull() AgamaSourceConfiguration.Builder contentType(@NonNull() String contentType)
Sets the type of the content.
- Suggested values are 'trailer', 'movie', 'news', 'documentary', ...
- Parameters:
contentType- The content type.
-
contentDescription
@NonNull() AgamaSourceConfiguration.Builder contentDescription(@NonNull() String contentDescription)
Sets the description of the content.
- Parameters:
contentDescription- The content description.
-
serviceName
@NonNull() AgamaSourceConfiguration.Builder serviceName(@NonNull() AgamaServiceName serviceName)
Sets the AgamaServiceName.
- Parameters:
serviceName- The Agama service name.
-
build
@NonNull() AgamaSourceConfiguration build()
Builds the Agama source configuration.
-
-
-
-