<AGSPortalUserDelegate> Protocol Reference
Description
A protocol which must be adopted by a class wishing to serve as a delegate for AGSPortalUser. AGSPortalUser 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) portalUser: |
|
(AGSPortalUser *) |
portalUser |
didFailToLoadWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while tyring to load the portal user.
- Parameters:
-
| portalUser | The portal user that failed to load. |
| error | Information about the cause of the failure. |
- Since:
- 2.2
- (void) portalUser: |
|
(AGSPortalUser *) |
portalUser |
operation: |
|
(NSOperation *) |
op |
didFailToFetchContentInFolder: |
|
(NSString *) |
folderId |
withError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while tyring to fetch the content of the user.
- Parameters:
-
| portalUser | The portal user the error happened. |
| op | The operation that performed the fetch. |
| folderId | The folder specified in the fetch operation. |
| error | Information about the cause of the failure. |
- Since:
- 2.2
- (void) portalUser: |
|
(AGSPortalUser *) |
portalUser |
operation: |
|
(NSOperation *) |
op |
didFailToFetchThumbnailWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that an error was encountered while tyring to fetch the user's thumbnail image.
- Parameters:
-
| portalUser | The portal user for which the thumbnail was fetched. |
| op | The operation that performed the fetch. |
| error | Information about the cause of the failure. |
- Since:
- 2.2
- (void) portalUser: |
|
(AGSPortalUser *) |
portalUser |
operation: |
|
(NSOperation *) |
op |
didFetchContent: |
|
(NSArray *) |
items |
folders: |
|
(NSArray *) |
folders |
inFolder: |
|
(NSString *) |
folderId | |
|
|
| | [optional] |
Tells the delegate that the content of the user has been fetched successfully.
- Parameters:
-
| portalUser | The portal user for which the content was fetched. |
| op | The operation that performed the fetch. |
| items | The array of AGSPortalItem that the user is the owner of. |
| folders | The array of folders inside the folder specified for the fetch. |
| folderId | The folder specified in the fetch operation. |
- Since:
- 2.2
- (void) portalUser: |
|
(AGSPortalUser *) |
portalUser |
operation: |
|
(NSOperation *) |
op |
didFetchThumbnail: |
|
(UIImage *) |
thumbnail | |
|
|
| | [optional] |
Tells the delegate that the user's thumbnail image was fetched successfully.
- Parameters:
-
| portalUser | The portal user for which the thumbnail was fetched. |
| op | The operation that performed the fetch. |
| thumbnail | The thumbnail image file. |
- Since:
- 2.2
- (void) portalUserDidLoad: |
|
(AGSPortalUser *) |
portalUser |
|
[optional] |
Tells the delegate that the portal user was loaded successfully.
- Parameters:
-
| portalUser | The portal user that was loaded. |
- Since:
- 2.2