StreamConcurrencyManagerImpl
class StreamConcurrencyManagerImpl(val player: ComposablePlayer, val platformAuthorizer: PlatformAuthorizer, val streamConcurrencyConfiguration: StreamConcurrencyManager.StreamConcurrencyConfiguration, val heartbeatToken: String? = null) : StreamConcurrencyManager
Concrete implementation of StreamConcurrencyManager that holds all the public and private functions for maintaining Stream Concurrency.
Constructors
Link copied to clipboard
constructor(player: ComposablePlayer, platformAuthorizer: PlatformAuthorizer, streamConcurrencyConfiguration: StreamConcurrencyManager.StreamConcurrencyConfiguration, heartbeatToken: String? = null)
Types
Link copied to clipboard
inner class StreamConcurrencyHeartbeatSyncHandler(looper: Looper, streamConcurrencyService: StreamConcurrencyService, platformClient: PlatformClient, streamConcurrencySyncIntervalMs: Long) : Handler
Handler that functions as a timer that can schedule a Stream Concurrency heartbeat at the given StreamConcurrencyManager.StreamConcurrencyConfiguration.streamConcurrencySyncIntervalMs.
Properties
Link copied to clipboard
The token that encodes additional information of the content. This token is part of the payload provided by content authorization service response.
Link copied to clipboard
The PlatformAuthorizer instance to access the Stream Concurrency microservice.
Link copied to clipboard
The ComposablePlayer instance associated with the playback.
Link copied to clipboard
open override val streamConcurrencyConfiguration: StreamConcurrencyManager.StreamConcurrencyConfiguration
The StreamConcurrencyConfiguration instance associated with the playback.