AirPlayChangedEvent

@objcMembers
@objc(BMPAirPlayChangedEvent)
public class AirPlayChangedEvent : PlayerEvent, @unchecked Sendable

See PlayerListener for more information on this event.

  • Indicates whether AirPlay is active.

    Declaration

    Swift

    public let isAirPlayActive: Bool
  • Current playback time in seconds.

    Declaration

    Swift

    public let time: TimeInterval
  • Declaration

    Swift

    override public var name: String { get }
  • Declaration

    Swift

    public init(
        airPlayActive: Bool,
        time: TimeInterval
    )