EXPInviteHandler Protocol Reference

Conforms to NSObject
Declared in EXPInviteHandler.h

Overview

The EXPInviteHandler protocol is adopted by an object that handles the display and dismissal of an invite view controller.

– show required method

Tells the invite handler to show a survey.

- (void)show

Declared In

EXPInviteHandler.h

– hideWithAnimation: required method

Tells the invite handler to hide a survey.

- (void)hideWithAnimation:(BOOL)animate

Parameters

animate

A boolean indicating whether to animate the dismissal

Declared In

EXPInviteHandler.h

– setInvalidInput:

Tells the invite handler whether the input is valid (Deprecated: Since v7.5.3. This method is deprecated and will be removed in a future release. Use handleContactInviteError: instead for improved error handling)

- (void)setInvalidInput:(BOOL)isInvalid

Parameters

isInvalid

A boolean. YES, if the input is invalid; NO, otherwise

Declared In

EXPInviteHandler.h

– handleContactInviteError:

Notifies the invite handler that the contact invite submission has failed.

- (void)handleContactInviteError:(EXPContactInviteError)error

Parameters

error

An EXPContactInviteError enum value indicating the specific reason for the failure.

Declared In

EXPInviteHandler.h