The notification portion of the PSDK library allows you to create a logging and debugging system that can be useful for diagnostic and validation purposes.
PTNotification notifications provide information about player status as information, warnings, or errors. Your application can retrieve data that describes what caused the error or warning. Errors that stop the playback of the video also cause a change of the status of the player.
The PSDK also uses notification to refer to NSNotifications (PTMediaPlayer notifications) event notifications, which the PSDK dispatches to provide information about player activity. You implement event listeners to capture and respond to those. Many event notifications also cause PTNotification status notificatons.
The PSDK issues PTMediaPlayerNewNotificationItemEntryNotification when a PTNotification is issued.