VideoFeedItemState
data class VideoFeedItemState(val item: VideoFeedItem, val player: Player?, val isCurrent: Boolean, val status: VideoFeedItemStatus, val error: ErrorEvent? = null)
Current controller state for a VideoFeedItem.
UIs should render from this state instead of owning players directly. A non-null player is owned by VideoFeedPlayerController; attach it to a player view, but do not destroy it.
Constructors
Link copied to clipboard
constructor(item: VideoFeedItem, player: Player?, isCurrent: Boolean, status: VideoFeedItemStatus, error: ErrorEvent? = null)
Properties
Link copied to clipboard
The player or source error that caused VideoFeedItemStatus.Failed.
Link copied to clipboard
Link copied to clipboard
Loading/rendering/error status for UI placeholders and overlays.