Contents

cancelPendingPrerolls()

Cancels any pending preroll requests and invokes the corresponding completion handlers, if present.

Declaration

nonisolated func cancelPendingPrerolls()

Discussion

This method cancels and releases the completion handlers for any pending prerolls. The finished parameter of the completion handlers passed to preroll(atRate:completionHandler:) will be set to false.

See Also

Synchronizing multiple players