PlaylistConfig

@objcMembers
@objc(BMPPlaylistConfig)
public final class PlaylistConfig : Config

Configures a playlist that can be loaded into a Player.

  • The Sources that are part of the configured playlist.

    Declaration

    Swift

    public let sources: [Source]
  • Additional configuration options for the playlist.

    Declaration

    Swift

    public let options: PlaylistOptions
  • Configures a playlist that can be loaded into a Player. Will use default PlaylistOptions.

    Declaration

    Swift

    public convenience init(sources: [Source])

    Parameters

    sources

    The Sources that are part of the configured playlist.

  • Configures a playlist that can be loaded into a Player.

    Declaration

    Swift

    public init(
        sources: [Source],
        options: PlaylistOptions
    )

    Parameters

    sources

    The Sources that are part of the configured playlist.

    options

    Additional configuration options for the playlist.