VODAdEventHandler

public protocol VODAdEventHandler : FLAdEventHandler

Undocumented

  • Use to get if player has to seek a position.

    Declaration

    Swift

    var adEventAdaptor: AdEventSeekIntervalAdaptor? { get set }
  • Playback policy handler

    Declaration

    Swift

    var policyHandler: PlaybackPolicyHandler? { get }
  • API to discard current adBreak when player playing adbreaks

    discardAdBreak return remaining duration value current ad break

    Declaration

    Swift

    func discardAdBreak() -> TimeInterval?
  • API to skip current ad when player playing adBreaks

    SkipAdBreak return remaining ads duration value of current ad break

    Declaration

    Swift

    func skipAdBreak() -> TimeInterval?
  • API to inform our adEventHandler can take necessary action for Interrupt on play

    Apply adPolicy rule if required, once player moved back from background mode to foreground mode

    Declaration

    Swift

    func evaluateInterruptionOnPlay()
  • getContentDuration() Extension method

    Undocumented

    Declaration

    Swift

    func getContentDuration() -> TimeInterval?
  • Undocumented

    Declaration

    Swift

    func getContentPositionForPlayhead(playhead: TimeInterval) -> TimeInterval?
  • resolveSeekIntent(position:) Extension method

    Declaration

    Swift

    func resolveSeekIntent(position: TimeInterval) -> TimeInterval?
  • Undocumented

    Declaration

    Swift

    func resolveSeekIntentForInitialPlayback(position: TimeInterval) -> TimeInterval?
  • playbackDidInterrupt() Extension method

    Undocumented

    Declaration

    Swift

    func playbackDidInterrupt()