EXPInviteDelegate Protocol Reference

Conforms to NSObject
Declared in EXPInviteDelegate.h

Overview

Delegates registered with the Verint SDK may adopt the EXPInviteDelegate protocol to receive updates about a survey’s lifecycle.

Custom Surveys

– willShowInviteForMeasure:

Tells the delegate that the Verint SDK is about to show an invite.

- (void)willShowInviteForMeasure:(EXPMeasure *)measure

Parameters

measure

The measure for the survey that the user is about to be invited to take.

Declared In

EXPInviteDelegate.h

– willShowSurveyForMeasure:

Tells the delegate that the Verint SDK is about to show a survey.

- (void)willShowSurveyForMeasure:(EXPMeasure *)measure

Parameters

measure

The measure for which a survey is about to be displayed.

Declared In

EXPInviteDelegate.h

Sampling and Eligibility Checks

– willNotShowInviteWithEligibilityFailedForMeasure:

Sent when the customer does not pass the eligibility check for a survey.

- (void)willNotShowInviteWithEligibilityFailedForMeasure:(EXPMeasure *)measure

Parameters

measure

The measure associated with this event.

Discussion

A user who is not eligible will not see an invite.

Declared In

EXPInviteDelegate.h

– willNotShowInviteWithSamplingFailedForMeasure:

Sent when the customer was not included in the sampling pool check.

- (void)willNotShowInviteWithSamplingFailedForMeasure:(EXPMeasure *)measure

Parameters

measure

The measure associated with this event.

Discussion

Not all users who are eligible are invited to take a survey. A sampling rate is configured for your account, which limits the total number of users who will see an invite. This method is called when the user was not in the sampling pool.

Declared In

EXPInviteDelegate.h

Other Invite Events

– didShowInviteForMeasure:

Tells the delegate that the Verint SDK has shown an invite.

- (void)didShowInviteForMeasure:(EXPMeasure *)measure

Parameters

measure

The measure associated with the invite that was displayed.

Discussion

Only called when using the built-in invites (i.e. not for custom invites). It’s assumed that custom invites already know when an invite has been shown.

Declared In

EXPInviteDelegate.h

– didAcceptInviteForMeasure:

Tells the delegate that the user has accepted an invite.

- (void)didAcceptInviteForMeasure:(EXPMeasure *)measure

Parameters

measure

The measure associated with the invite.

Declared In

EXPInviteDelegate.h

– didDeclineInviteForMeasure:

Tells the delegate that the user has declined an invite.

- (void)didDeclineInviteForMeasure:(EXPMeasure *)measure

Parameters

measure

The measure associated with the invite.

Declared In

EXPInviteDelegate.h

– didCompletePostInviteActionForMeasure:

Tells the delegate that the user has completed a post invite action.

- (void)didCompletePostInviteActionForMeasure:(EXPMeasure *)measure

Parameters

measure

The measure associated with the invite.

Declared In

EXPInviteDelegate.h

Other Survey Events

– didShowSurveyForMeasure:

Tells the delegate that the Verint SDK has presented a survey.

- (void)didShowSurveyForMeasure:(EXPMeasure *)measure

Parameters

measure

The measure for the survey that was displayed.

Discussion

Warning: Not sent for custom surveys

Declared In

EXPInviteDelegate.h

– didCancelSurveyForMeasure:

Tells the delegate that the user cancelled a survey.

- (void)didCancelSurveyForMeasure:(EXPMeasure *)measure

Parameters

measure

The measure for the survey that was dismissed.

Discussion

Warning: Not sent for custom surveys

Declared In

EXPInviteDelegate.h

– didCompleteSurveyForMeasure:

Tells the delegate that the user completed a survey.

- (void)didCompleteSurveyForMeasure:(EXPMeasure *)measure

Parameters

measure

The measure for the survey that was completed.

Discussion

Warning: Not sent for custom surveys

Declared In

EXPInviteDelegate.h

Error Conditions

– didFailForMeasure:withContactFormatError:

Sent when the supplied contact information is not in the correct format.

- (void)didFailForMeasure:(EXPMeasure *)measure withContactFormatError:(NSError *)error

Parameters

measure

The measure associated with this failure

error

An error object containing details about the formatting issue.

Discussion

This error prevents successful acceptance of an invite.

Declared In

EXPInviteDelegate.h

– didFailForMeasure:withMissingInformationError:

Sent when the invite failed because of missing information.

- (void)didFailForMeasure:(EXPMeasure *)measure withMissingInformationError:(NSError *)error

Parameters

measure

The measure associated with this failure

error

An error object containing details about the missing information.

Discussion

This error prevents successful acceptance of an invite.

Declared In

EXPInviteDelegate.h

– didFailForMeasure:withNetworkError:

Sent when the invite or survey failed because of a network error.

- (void)didFailForMeasure:(EXPMeasure *)measure withNetworkError:(NSError *)error

Parameters

measure

The measure associated with this failure

error

An error object containing details about the network failure.

Discussion

This error prevents successful acceptance or cancellation of an invite or survey.

Declared In

EXPInviteDelegate.h