Notification classes

Last update: 2023-10-02

These classes describe messages about errors, warnings, and some activities that the TVSDK issues for logging and debugging purposes.

Class name Description
PTMediaError Class that describes the notification for an error that causes the player to stop playback. This is a PTNotification of notification type ERROR.
PTMediaPlayerNotifications Lists all the notifications dispatched by the Primetime Player framework.
PTNotification Class that provides informational messages, warnings, and errors. Encapsulates the object representation of a single notification event within PTNotificationHistory.
PTNotificationHistory Class that stores a log of notification objects PTNotificationHistoryItem objects that provides access to a notification events history list. That is, it maintains a list of elements, each element containing a separate instance of the PTNotification
PTNotificationHistoryItem Class that defines an entry in the circular list in PTNotificationHistory and holds the notification and its timestamp.

On this page