Wait Event
Fired periodically to show how much waiting time is left.
Syntax
ANSI (Cross Platform) virtual int FireWait(OAuthClientWaitEventParams *e);
typedef struct {
int TimeLeft;
int Stop; int reserved; } OAuthClientWaitEventParams; Unicode (Windows) virtual INT FireWait(OAuthClientWaitEventParams *e);
typedef struct {
INT TimeLeft;
BOOL Stop; INT reserved; } OAuthClientWaitEventParams;
- (void)onWait:(int)timeLeft :(int*)stop;
#define EID_OAUTHCLIENT_WAIT 5 virtual INT SECUREBLACKBOX_CALL FireWait(INT &iTimeLeft, BOOL &bStop);
Remarks
This event is fired after authorization is started, to show how much time is left to wait for server's response. Waiting can be cancelled by setting the Stop parameter to true, which will result in authorization failure.