Trigger - SDK Events

Notifications

The ForeSee SDK posts the following notifications to the default NSNotificationCenter:

  • FSInviteDidShowNotification (Posted when the default invitation was displayed.)
  • FSInviteWasDeclinedNotification (Posted when the default invitation was declined.)
  • FSInviteWasAcceptedNotification (Posted when the default invitation was accepted.)
  • FSSurveyWasCompletedNotification (Posted when the survey was completed.)
  • FSSurveyWasAbandonedNotification (Posted when the survey was abandoned.)
  • FSSurveyDidShowNotification (Posted when the survey was presented.)

FSInviteDelegate

Clients may register an object conforming to the FSInviteDelegate protocol to receive additional SDK lifecycle events. Delegates should be registered using the following method:

[ForeSee setInviteDelegate:myCustomInviteDelegate];

This delegate can be used with or without a custom invite.

The SDK’s public protocols are fully documented on Cocoadocs.

Other articles in this section:

  1. Trigger Overview
  2. Invite Modes
  3. Repeat Days
  4. Sampling
  5. Multiple Measures
  6. CPP's
  7. Localization
  8. SDK Events (current article)
  9. Page views
  10. Custom Invites