PTAdResolverDelegate Protocol Reference
Conforms to | NSObject |
Declared in | PTAdResolver.h |
Overview
PTAdResolverDelegate protocol provides delegate calls for a PTAdResolver class.
The ad resolver instance must use these class to notify the delegate on success and failure of an ad call. Failure to do so may result in stalling of playback.
Tasks
Ad Management
-
– adResolutionComplete:
Invoked when the PTAdResolver instance has successfully completed resolving ads for an avail.
required method -
– adResolutionFailedWithErrors:
Invoked when the PTAdResolver instance has failed to resolve ads for an avail.
required method
Instance Methods
adResolutionComplete:
Invoked when the PTAdResolver instance has successfully completed resolving ads for an avail.
- (void)adResolutionComplete:(PTAdTimeline *)timeline
Discussion
Invoked when the PTAdResolver instance has successfully completed resolving ads for an avail.
The PTAdTimeline instance provides information about the breaks and ads obtained from the ad server
Declared In
PTAdResolver.h
adResolutionFailedWithErrors:
Invoked when the PTAdResolver instance has failed to resolve ads for an avail.
- (void)adResolutionFailedWithErrors:(NSArray *)playerErrors
Discussion
Invoked when the PTAdResolver instance has failed to resolve ads for an avail.
The playerErrors array provides information about any errors that caused the failure to resolve ads Each entry in the array is an instance of PTNotification class with a code and description.
Declared In
PTAdResolver.h