InrollQueue

@objc(YMAInrollQueue)
public protocol InrollQueue

InrollQueue provides ordered set of inrolls.

  1. count
  2. poll()

count

Returns count of remaining inrolls in queue.

Declaration

Swift

var count: Int { get }

poll()

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

Declaration

Swift

func poll() -> Inroll?