Other Classes
The following classes are available globally.
-
The
AdBreaksManagerclass 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 moreDeclaration
Swift
public class AdBreaksManager -
The
See morePlayerManagerclass 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 contentDeclaration
Swift
public class PlayerManager -
The
See moreQueueManagerclass is responsible for managing the playback queue of aPlayerinstance. 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.Declaration
Swift
public class QueueManager -
The
TracksManagerclass 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 moreDeclaration
Swift
public class TracksManager -
The
See moreUIManagerclass manages defailt user interface components for the media player, including the view, view controller, and view modelDeclaration
Swift
public class UIManager -
The
See moreVesperSDKConfigclass 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.Declaration
Swift
public class VesperSDKConfig -
The
VesperSDKManagerclass 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 playbackThis class encapsulates and coordinates various components, including API configuration, request management, authentication, and settings resolution.
See moreImportant
Ensure that theAPIConfigandAuthManagerprovided are correctly configured to avoid issues during API requests and authentication. UsevesperSDKManagerto create PlayerManagerDeclaration
Swift
public class VesperSDKManager
Other Classes Reference