PauserollQueue

@objc(YMAPauserollQueue)
public protocol PauserollQueue

PauserollQueue provides ordered set of pauserolls.

  1. count
  2. poll()

count

Returns count of remaining pauserolls in queue.

Declaration

Swift

var count: Int { get }

poll()

Returns next pauseroll in the queue or nil if the queue is empty.

Declaration

Swift

func poll() -> Pauseroll?