SourceMetadata

@objc(BMASourceMetadata)
@objcMembers
public class SourceMetadata : NSObject
  • ID of the video in the CMS system

    Declaration

    Swift

    public let videoId: String?
  • Human readable title of the video asset currently playing

    Declaration

    Swift

    public let title: String?
  • Breadcrumb path to show where in the app the user is

    Declaration

    Swift

    public let path: String?
  • Flag to see if stream is live before stream metadata is available

    Declaration

    Swift

    public let isLive: Bool?
  • CDN Provide that the video playback session is using

    Declaration

    Swift

    public let cdnProvider: String?
  • Custom data send with each sample

    Declaration

    Swift

    public let customData: CustomData
  • Declaration

    Swift

    @nonobjc
    public init(
        videoId: String? = nil,
        title: String? = nil,
        path: String? = nil,
        isLive: Bool? = nil,
        cdnProvider: String? = nil,
        customData: CustomData = CustomData()
    )
  • Declaration

    Swift

    @objc(BMASourceMetadataBuilder)
    @objcMembers
    class Builder : NSObject