AIAuthenticationDelegate Protocol Reference

Conforms to NSObject
Declared in AIAuthenticationDelegate.h

Overview

Applications calling AIMobileLib APIs must implement the methods of this protocol to receive success and failure information.

– requestDidSucceed: required method

The APIs call this delegate method with the result when it completes successfully.

- (void)requestDidSucceed:(APIResult *)apiResult

Parameters

apiResult

An APIResult object containing the information about the calling API and the result generated.

Availability

1.0

Discussion

The APIs call this delegate method with the result when it completes successfully.

See Also

  • See APIResult for more information on the content of the apiResult.

Declared In

AIAuthenticationDelegate.h

– requestDidFail: required method

The APIs call this delegate method with the result when it fails.

- (void)requestDidFail:(APIError *)errorResponse

Parameters

errorResponse

An APIResult object containing the information about the API and the error that occurred.

Availability

1.0

Discussion

The APIs call this delegate method with the result when it fails.

See Also

  • See APIError for more information on the content of the result.

Declared In

AIAuthenticationDelegate.h