The PSDK sets up the player for basic notifications,
while you must perform the same setup for your own custom notifications.
There are two implementations for
PTNotification:
- One for listening
- One for adding custom notifications to PTNotificationHistory
For
listening to notifications, the PSDK instantiates the
PTNotification class
and attaches it to an instance of the
PTMediaPlayerItem,
which is attached to a PTMediaPlayer instance. There is only one
PTNotificationHistory instance
per
PTMediaPlayer.
If you are adding customizations, your application, rather than
the PSDK, must perform those set-up steps.