Interface THEOplayerConfig
-
- All Implemented Interfaces:
public interface THEOplayerConfigThe THEOplayer Configuration API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTHEOplayerConfig.BuilderThe builder for THEOplayerConfig.
-
Method Summary
Modifier and Type Method Description abstract booleanisMultiSession()Returns whether the player supports multi-key content when the license server doesn't respond with all keys at once. abstract StringgetLicense()The license. abstract StringgetLicenseUrl()The licenseUrl. abstract PipConfigurationgetPip()The Picture in Picture configuration of the player. PipConfigurationgetPipConfiguration()The Picture in Picture configuration of the player. abstract NetworkConfigurationgetNetwork()The network and retry configuration of the player. NetworkConfigurationgetNetworkConfiguration()The network and retry configuration of the player. abstract THEOLiveConfiggetTheoLive()The THEOlive configuration of the player. THEOLiveConfiggetTHEOLiveConfiguration()The THEOlive configuration of the player. abstract booleanisAutoIntegrations()Whether all available integrations should be automatically added on the created Player. abstract booleanisTunnelingEnabled()Whether multimedia tunneling is enabled for the player or not. -
-
Method Detail
-
isMultiSession
abstract boolean isMultiSession()
Returns whether the player supports multi-key content when the license server doesn't respond with all keys at once.
- Set to
falsewhen a single key request will obtain all keys required to decrypt the stream. - Set to
truewhen a different key request is needed for different qualities of the stream, or when the stream uses key rotation.
Default: false
- Set to
-
getLicense
@Nullable() abstract String getLicense()
The license.
- Returns:
Returns the license. (Nullable)
-
getLicenseUrl
@Nullable() abstract String getLicenseUrl()
The licenseUrl.
- Returns:
Returns the licenseUrl. (Nullable)
-
getPip
@Nullable() abstract PipConfiguration getPip()
The Picture in Picture configuration of the player.
- Returns:
The PiP configuration. (Nullable)
-
getPipConfiguration
@Deprecated(forRemoval = true)@Nullable() PipConfiguration getPipConfiguration()
The Picture in Picture configuration of the player.
- Returns:
The PiP configuration. (Nullable)
-
getNetwork
@Nullable() abstract NetworkConfiguration getNetwork()
The network and retry configuration of the player.
- Returns:
The network and retry configuration. (Nullable)
-
getNetworkConfiguration
@Deprecated(forRemoval = true)@Nullable() NetworkConfiguration getNetworkConfiguration()
The network and retry configuration of the player.
- Returns:
The network and retry configuration. (Nullable)
-
getTheoLive
@Nullable() abstract THEOLiveConfig getTheoLive()
The THEOlive configuration of the player.
- Returns:
The THEOlive configuration.
-
getTHEOLiveConfiguration
@Deprecated(forRemoval = true)@Nullable() THEOLiveConfig getTHEOLiveConfiguration()
The THEOlive configuration of the player.
- Returns:
The THEOlive configuration.
-
isAutoIntegrations
abstract boolean isAutoIntegrations()
Whether all available integrations should be automatically added on the created Player.
- Returns:
True if integrations should be automatically added.
-
isTunnelingEnabled
abstract boolean isTunnelingEnabled()
Whether multimedia tunneling is enabled for the player or not.
- Only supported with the Media3 integration.
- Only supported if setRenderingTarget is set to SURFACE_VIEW.
- Only supported if the media being played includes both audio and video.
- Only supported on limited number of video codecs and devices.
- Returns:
True if multimedia tunneling is enabled.
-
-
-
-