<AGSPortalDelegate> Protocol Reference
Description
A protocol which must be adopted by a class wishing to serve as a delegate for AGSPortal. AGSPortal informs the delegate when operations complete successfully or encounter an error.
All of the methods of this protocol are optional.
- Since:
- 2.2
List of all members.
Member Function Documentation
- (void) portal: |
|
(AGSPortal *) |
portal |
didFailToLoadWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while tyring to load the portal.
- Parameters:
-
| portal | The portal that failed to load. |
| error | Information about the cause of the failure. |
- Since:
- 2.2
- (void) portal: |
|
(AGSPortal *) |
portal |
operation: |
|
(NSOperation *) |
op |
didFailToFindGroupsForQueryParams: |
|
(AGSPortalQueryParams *) |
queryParams |
withError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while tyring to query groups.
- Parameters:
-
| portal | The portal on which the query was made. |
| op | The operation that performed the query. |
| queryParams | The query parameters |
| error | Information about the cause of the failure. |
- Since:
- 2.2
- (void) portal: |
|
(AGSPortal *) |
portal |
operation: |
|
(NSOperation *) |
op |
didFailToFindItemsForQueryParams: |
|
(AGSPortalQueryParams *) |
queryParams |
withError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while tyring to query items.
- Parameters:
-
| portal | The portal on which the query was made. |
| op | The operation that performed the query. |
| queryParams | The query parameters |
| error | Information about the cause of the failure. |
- Since:
- 2.2
Tells the delegate that the query to find groups completed successfully.
- Parameters:
-
- Since:
- 2.2
Tells the delegate that the query to find items completed successfully.
- Parameters:
-
- Since:
- 2.2
- (void) portalDidLoad: |
|
(AGSPortal *) |
portal |
|
[optional] |
Tells the delegate that the portal was loaded successfully.
- Parameters:
-
| portal | The portal that was loaded. |
- Since:
- 2.2