Array

public extension Array where Element == AdBreak

Available where Element == AdBreak

  • Determines if an ad break is scheduled at the specified time position.

    This method checks whether any ad break in the collection has a start time that matches the provided time position.

    Declaration

    Swift

    func isScheduled(at timePosition: TimeInterval) -> Bool

    Parameters

    at

    The time position (in seconds) to check for scheduled ad breaks.

    Return Value

    true if an ad break is scheduled at the specified position, false otherwise.