Other Classes

The following classes are available globally.

  • The AdBreaksManager class is responsible for managing ad breaks within the media content.

    This class interacts with an ads plugin to track and handle ad breaks during media playback. It provides properties to access all scheduled ad breaks and the currently active ad break, as well as a time converter for translating content time to stream time and vice versa.

    See more

    Declaration

    Swift

    public class AdBreaksManager
  • The PlayerManager class is responsible for managing the playback of media content, including handling tracks, ads, and user interface components. It provides a high-level interface for controlling media playback of Vesper platform content

    See more

    Declaration

    Swift

    public class PlayerManager
  • The QueueManager class is responsible for managing the playback queue of a Player instance. It provides methods to check the availability of previous and next items in the queue and to control playback by moving to the next or previous item.

    See more

    Declaration

    Swift

    public class QueueManager
  • The TracksManager class is responsible for managing and selecting media tracks during playback, such as audio and subtitle tracks.

    It provides methods to get the available tracks, retrieve the currently selected audio and subtitle tracks, and select a specific track based on type and identifier.

    See more

    Declaration

    Swift

    public class TracksManager
  • The UIManager class manages defailt user interface components for the media player, including the view, view controller, and view model

    See more

    Declaration

    Swift

    public class UIManager
  • The VesperSDKConfig class is responsible for configuring the Vesper SDK with the necessary API and authentication settings. It acts as a container for configuration objects that the SDK requires to operate correctly.

    See more

    Declaration

    Swift

    public class VesperSDKConfig
  • The VesperSDKManager class serves as the central manager for handling API requests, authentication, and resolving application settings within the Vesper SDK. Also it allow to create PlayerManager to manager playback

    This class encapsulates and coordinates various components, including API configuration, request management, authentication, and settings resolution.

    Important

    Ensure that the APIConfig and AuthManager provided are correctly configured to avoid issues during API requests and authentication. Use vesperSDKManager to create PlayerManager
    See more

    Declaration

    Swift

    public class VesperSDKManager