SPBrandEngageClientDelegate Protocol Reference
Conforms to | NSObject |
Declared in | SPBrandEngageClient.h |
Overview
Defines selectors that a delegate of SPBrandEngageClient can implement for being notified of offers availability and engagement status.
Tasks
Requesting offers
-
– brandEngageClient:didReceiveOffers:
Sent when BrandEngage receives an answer about offers availability.
required method
Showing offers
-
– brandEngageClient:didChangeStatus:
Sent when a running engagement changes state.
required method
Instance Methods
brandEngageClient:didChangeStatus:
Sent when a running engagement changes state.
- (void)brandEngageClient:(SPBrandEngageClient *)brandEngageClient didChangeStatus:(SPBrandEngageClientStatus)newStatus
Parameters
- brandEngageClient
The instance of SPBrandEngageClient that sent this message.
- newStatus
A constant value of the SPBrandEngageClientStatus type indicating the new status of the engagement.
Declared In
SPBrandEngageClient.h
brandEngageClient:didReceiveOffers:
Sent when BrandEngage receives an answer about offers availability.
- (void)brandEngageClient:(SPBrandEngageClient *)brandEngageClient didReceiveOffers:(BOOL)areOffersAvailable
Parameters
- brandEngageClient
The instance of SPBrandEngageClient that sent this message.
- areOffersAvailable
A boolean value indicating whether offers are available. If this value is YES, you can start the engagement.
Declared In
SPBrandEngageClient.h