INPulseLiveSessionDelegate
Objective-C
@protocol INPulseLiveSessionDelegate <NSObject>
Swift
protocol INPulseLiveSessionDelegate : NSObjectProtocol
Delegate is used by INPulseLiveSession
to communicate with your application.
-
Called when a Pulse ad response has been successfully received and processed. This means that ad breaks that has been requested for are available through
-[INPulseLiveSession getAdBreak:atIndex:]
.Declaration
Objective-C
- (void)sessionRequestSuccessful;
Swift
optional func sessionRequestSuccessful()
-
Called when a Pulse ad request has failed.
Declaration
Objective-C
- (void)sessionRequestFailedWithError:(NSError *)error;
Swift
optional func sessionRequestFailedWithError(_ error: (any Error)!)
-
An unexpected operation has occurred.
Declaration
Objective-C
- (void)didEncounterIllegalOperation:(NSError *)error;
Swift
optional func didEncounterIllegalOperation(_ error: (any Error)!)
Parameters
error
The error that occurred.