VerizonMediaAdBreak
public protocol VerizonMediaAdBreak : EventDispatcherProtocolThe Verizon Media ad break API.
- 
                  
                  Start time of the ad break, in seconds. DeclarationSwift var startTime: Double { get }
- 
                  
                  End time of the ad break relative to the content duration, in seconds. DeclarationSwift var endTime: Double? { get }
- 
                  
                  The duration of the ad break, in seconds. DeclarationSwift var duration: Double? { get }
- 
                  
                  A list of ads in this break. DeclarationSwift var ads: VerizonMediaAdArray { get }
- 
                  
                  A unique identifier DeclarationSwift var identifier: AnyHashable { get }
- 
                  
                  Offset after which the ad may be skipped, in seconds. Remark - If the offset is -1, the ad is unskippable.
- If the offset is 0 , the ad is immediately skippable.
- Otherwise it must be a positive number indicating the offset.
 DeclarationSwift var skipOffset: Double { get set }
- 
                  
                  Adds the event listener of the given EventType.Remark When attaching a listener on the wrong object, the application will crash. DeclarationSwift func addEventListener<E>(type: EventType<E>, listener: @escaping (E) -> ()) -> EventListener where E : EventProtocolParameterstypeEventTypeof the added event listener. SeeVerizonMediaAdBreakEventTypesfor possible values.listenerClosure called when event is dispatched. Return ValueThe newly added EventListener.
- 
                  
                  Removes the event listener of the given EventType.DeclarationSwift func removeEventListener<E>(type: EventType<E>, listener: EventListener) where E : EventProtocolParameterstypeEventTypeof the event listener to be removed. SeeVerizonMediaAdBreakEventTypesfor possible values.listenerEventListenerwhich was added byaddEventListener(...)
 VerizonMediaAdBreak Protocol Reference
      VerizonMediaAdBreak Protocol Reference