Class HlsInterstitial.Asset
java.lang.Object
com.castlabs.android.player.models.hls.HlsInterstitial.Asset
- Enclosing class:
HlsInterstitial
Represents an asset within an HLS interstitial.
This class contains information about a specific media asset that is part of the interstitial.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
uri
The URI of the asset -
duration
public final int durationThe duration of the asset in milliseconds
-
-
Constructor Details
-
Asset
Creates a new asset with the specified parameters.- Parameters:
uri
- The URI of the assetduration
- The duration in milliseconds
-