ShortTtlHandler

interface ShortTtlHandler

Interface definition for handling DataSpec with an expired manifest URL.

Functions

Link copied to clipboard
abstract fun isExpired(dataSpec: DataSpec): Boolean
Returns true if the provided DataSpec is expired.
Link copied to clipboard
abstract fun refresh(dataSpec: DataSpec): DataSpec
Attempt to refresh an expired DataSpec.