MediaPlayer

public class MediaPlayer: NSObject

Wrapper class to manage rich media tracking

  • Player ID

    Declaration

    Swift

    @objc public var playerId: Int = 1
  • List of videos attached to this player

    Declaration

    Swift

    @objc public lazy var videos: Videos = Videos(player: self)
  • List of audios attached to this player

    Declaration

    Swift

    @objc public lazy var audios: Audios = Audios(player: self)
  • List of live videos attached to this player

    Declaration

    Swift

    @objc public lazy var liveVideos: LiveVideos = LiveVideos(player: self)
  • List of live audios attached to this player

    Declaration

    Swift

    @objc public lazy var liveAudios: LiveAudios = LiveAudios(player: self)