SourceAddedEvent

@objc(BMPSourceAddedEvent)
@objcMembers
public class SourceAddedEvent : PlayerEvent, @unchecked Sendable

See PlayerListener for more information on this event.

  • The Source that was added to the playlist.

    Declaration

    Swift

    public let source: Source
  • The index at which the Source was added to the playlist.

    The value is greater than or equal to zero and does not exceed the number of Sources in the playlist before addition.

    Declaration

    Swift

    public let index: Int
  • Declaration

    Swift

    override public var name: String { get }