Classes

The following classes are available globally.

  • PKEvent

    See more

    Declaration

    Swift

    @objc
    open class PKEvent : NSObject
  • PKAdInfo represents ad information.

    See more

    Declaration

    Swift

    @objc
    public class PKAdInfo : NSObject
  • PKPlaybackInfo represents a playback info object.

    See more

    Declaration

    Swift

    @objc
    public class PKPlaybackInfo : NSObject
  • PlayerEvent is a class used to reflect player events.

    See more

    Declaration

    Swift

    @objc
    public class PlayerEvent : PKEvent
  • Manage local (downloaded) assets.

    See more

    Declaration

    Swift

    @objc
    public class LocalAssetsManager : NSObject
  • The NotificationsManager objects provides a mechanism for adding/removing observers within a program

    Declaration

    Swift

    public final class NotificationsManager
  • Manager class used for:

    • creating Player objects.
    • creating and registering plugins.
    See more

    Declaration

    Swift

    @objc
    public class PlayKitManager : NSObject
  • MessageBus object handles all event message observing and posting

    See more

    Declaration

    Swift

    @objc
    public class MessageBus : NSObject
  • PKBoundaryFactory factory class used to create boundary objects easily.

    See more

    Declaration

    Swift

    @objc
    public class PKBoundaryFactory : NSObject
  • PKPercentageTimeBoundary represents a time boundary in % against the media duration.

    See more

    Declaration

    Swift

    @objc
    public class PKPercentageTimeBoundary : NSObject, PKBoundary
  • PKTimeBoundary represents a time boundary in seconds.

    See more

    Declaration

    Swift

    @objc
    public class PKTimeBoundary : NSObject, PKBoundary
  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public class PKTimeRange : NSObject
  • An AVPlayerEngine is a controller used to manage the playback and timing of a media asset. It provides the interface to control the player’s behavior such as its ability to play, pause, and seek to various points in the timeline.

    See more

    Declaration

    Swift

    public class AVPlayerEngine : AVPlayer
  • A MediaConfig object defines behavior and info to use when preparing a Player object.

    See more

    Declaration

    Swift

    @objc
    public class MediaConfig : NSObject
  • A PluginConfig object defines config to use when loading a plugin object.

    See more

    Declaration

    Swift

    @objc
    public class PluginConfig : NSObject
  • A simple UIView subclass that is backed by an AVPlayerLayer layer.

    See more

    Declaration

    Swift

    @objc
    public class PlayerView : UIView
  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public class PKTracks : NSObject
  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public class Track : NSObject
  • class BasePlugin is a base plugin object used for plugin subclasses

    See more

    Declaration

    Swift

    @objc
    open class BasePlugin : NSObject, PKPlugin
  • A SessionProvider that just reflects its input parameters – baseUrl, partnerId, ks. This class does not attempt to manage (create, renew, validate, clear) a session. The application is expected to provide a valid KS, which it can update as required via the ks property. For some use cases, the KS can be null (anonymous media playback, if allowed by access-control).

    See more

    Declaration

    Swift

    @objc
    public class SimpleSessionProvider : NSObject, SessionProvider
  • Undocumented

    Declaration

    Swift

    @objc
    public class SimpleOVPSessionProvider : SimpleSessionProvider
  • TVPAPICastBuilder this component will help you to comunicate with Kaltura-custom-receiver.

    See more

    Declaration

    Swift

    @objc
    public class BasicCastBuilder : NSObject
  • CastAdInfoParser

    This class can be used to handle advertisement UI while casting while using google components. There is 2 options to use this class :

    1. set
    See more

    Declaration

    Swift

    @objc
    public class CastAdInfoParser : NSObject, GCKRemoteMediaClientAdInfoParserDelegate
  • TVPAPICastBuilder this component will help you to comunicate with Kaltura-custom-receiver with OVP-Kaltura Server.

    See more

    Declaration

    Swift

    @objc
    public class OVPCastBuilder : BasicCastBuilder
  • TVPAPICastBuilder this component will help you to comunicate with Kaltura-custom-receiver with TVPAPI Server.

    See more

    Declaration

    Swift

    @objc
    public class TVPAPICastBuilder : BasicCastBuilder