Core API
-
Analytics Interface
See moreDeclaration
Swift
public protocol AnalyticsAPI
-
Loads and displays subtitles.
See moreDeclaration
Swift
public protocol SubtitlesAPI
-
Thumbnail Interface
Enables retrieving and storing thumbnail preview images and timing info that could then be used e.g. to display on the player seekbar. Requires the
See moreThumbnailsPlugin
.Declaration
Swift
public protocol ThumbnailsAPI
-
API for casting (Chromecast, AirPlay).
See moreDeclaration
Swift
public protocol CastAPI
-
Error Interface ‘PRESTOerror’ is a generic interface that represents all error types thrown within the SDK. This class provides a unified way to handle, classify, and propagate errors encountered during SDK operations, ensuring that any error, regardless of its origin or context, can be managed consistently by client applications. Use this class to catch, inspect, and respond to SDK-specific failures, facilitating robust error handling across your codebase.
See moreDeclaration
Swift
public class PRESTOerror : NSObject, CustomNSError