-
- All Implemented Interfaces:
public class THEOplayerConfig
The THEOplayer Configuration API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
THEOplayerConfig.Builder
The builder for THEOplayerConfig.
-
Field Summary
Fields Modifier and Type Field Description private final THEOplayerConfigInternal
internal
-
Method Summary
Modifier and Type Method Description THEOplayerConfigInternal
getInternal()
boolean
isMultiSession()
Returns whether the player supports multi-key content when the license server doesn't respond with all keys at once. AdsConfiguration
getAds()
The Advertisement configuration of the player. UIConfiguration
getUi()
The UI configuration of the player. CastStrategy
getCastStrategy()
The Cast Strategy. Double
getLiveOffset()
The offset duration between the live point and the end of the manifest. Boolean
isHlsDateRange()
Returns whether the logic to expose date ranges parsed from HLS manifests is enabled. String
getLicense()
The license. String
getLicenseUrl()
The licenseUrl. PipConfiguration
getPipConfiguration()
The Picture in Picture configuration of the player. NetworkConfiguration
getNetworkConfiguration()
The retry configuration of the player. -
-
Method Detail
-
getInternal
THEOplayerConfigInternal getInternal()
-
isMultiSession
boolean isMultiSession()
Returns whether the player supports multi-key content when the license server doesn't respond with all keys at once.
- When using the experimental rendering multi-key content is only supported for license servers who return all key at once.
- Setting this parameter to true also supports license server who doesn't return all keys at once.
- When using this flag adaptation between streams that use different keys will not be completely seamless.
Default: false
-
getAds
@Deprecated()@Nullable() AdsConfiguration getAds()
The Advertisement configuration of the player.
-
getUi
@Nullable() UIConfiguration getUi()
The UI configuration of the player.
-
getCastStrategy
@NonNull()@Deprecated() CastStrategy getCastStrategy()
The Cast Strategy.
- For all possibilities, see CastStrategy.
-
getLiveOffset
@Nullable() Double getLiveOffset()
The offset duration between the live point and the end of the manifest.
- This will return null if it is 3 target durations.
-
isHlsDateRange
@Nullable() Boolean isHlsDateRange()
Returns whether the logic to expose date ranges parsed from HLS manifests is enabled. (Nullable)
-
getLicense
@Nullable() String getLicense()
The license.
-
getLicenseUrl
@Nullable() String getLicenseUrl()
The licenseUrl.
-
getPipConfiguration
@Nullable() PipConfiguration getPipConfiguration()
The Picture in Picture configuration of the player.
-
getNetworkConfiguration
@Nullable() NetworkConfiguration getNetworkConfiguration()
The retry configuration of the player.
-
-
-
-