PlaybackSession
public protocol PlaybackSession
Undocumented
-
API to call when the playback requested.
Declaration
Swift
func start(value: PlaybackRequest) -
attachPlayer(player:Default implementationplayerView: ) Attaches the player to
playerViewonceFLPlayeris available, allowingplayerViewto be optional.Default Implementation
Declaration
Swift
func attachPlayer(player: Player, playerView: UIView?) -
API to call when there is an interruption before the playback start. If some popup starts displays on the application for user interaction. Ex: parental control password popup before every playback.
Declaration
Swift
func interruptStart(value: CustomEvent) -
API to call when there is an interruption over before the playback start.
Declaration
Swift
func interruptEnd(value: CustomEvent) -
API to update playback metadata.
Declaration
Swift
func updateMetadataRecord(metadata: [String : Any]) -
API to call when failures received before playback starts.
Declaration
Swift
func stop(error: FLError?)