MediaPlayer

public class MediaPlayer : NSObject

Wrapper class to manage rich media tracking

  • Player ID

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    public lazy var videos: Videos { get set }
  • List of audios attached to this player

    Declaration

    Swift

    @objc
    public lazy var audios: Audios { get set }
  • List of live videos attached to this player

    Declaration

    Swift

    @objc
    public lazy var liveVideos: LiveVideos { get set }
  • List of live audios attached to this player

    Declaration

    Swift

    @objc
    public lazy var liveAudios: LiveAudios { get set }
  • List of medias attached to this player

    Declaration

    Swift

    @objc
    public lazy var media: Media { get set }
  • List of medias attached to this player

    Declaration

    Swift

    @objc
    public lazy var liveMedia: LiveMedia { get set }