<AGSPortalGroupDelegate> Protocol Reference


Description

A protocol which must be adopted by a class wishing to serve as a delegate for AGSPortalGroup. AGSPortalGroup informs the delegate of events and consults the delegate before taking some action.

All of the methods of this protocol are optional.

Since:
2.2

List of all members.

Public Member Functions

(void) - portalGroup:operation:didFailToFetchThumbnailWithError:
(void) - portalGroup:operation:didFailToFetchUsersWithError:
(void) - portalGroup:operation:didFetchThumbnail:
(void) - portalGroup:operation:didFetchUsers:admins:

Member Function Documentation

- (void) portalGroup: (AGSPortalGroup *)  portalGroup
operation: (NSOperation *)  op
didFailToFetchThumbnailWithError: (NSError *)  error 
[optional]

Tells the delegate that the specified error was encountered while tyring to fetch the thumbnail image.

Parameters:
portalGroup The portal group 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) portalGroup: (AGSPortalGroup *)  portalGroup
operation: (NSOperation *)  op
didFailToFetchUsersWithError: (NSError *)  error 
[optional]

Tells the delegate that the specified error was encountered while tyring to fetch the users and admins of the group.

Parameters:
portalGroup The portal group for which the users and admins were fetched.
op The operation that performed the fetch.
error Information about the cause of the failure.
Since:
2.2
- (void) portalGroup: (AGSPortalGroup *)  portalGroup
operation: (NSOperation *)  op
didFetchThumbnail: (UIImage *)  thumbnail 
[optional]

Tells the delegate that the fetch operation of the group's thumbnail image completed successfully.

Parameters:
portalGroup The portal group for which the thumbnail was fetched.
op The operation that performed the fetch.
thumbnail The thumbnail image file.
Since:
2.2
- (void) portalGroup: (AGSPortalGroup *)  portalGroup
operation: (NSOperation *)  op
didFetchUsers: (NSArray *)  users
admins: (NSArray *)  admins 
[optional]

Tells the delegate that the fetch operation of the group's users and admins completed successfully.

Parameters:
portalGroup The portal group for which the users and admins were fetched.
op The operation that performed the fetch.
users Array of all the users (AGSPortalUser) of the group.
admins Array of all the admin users (AGSPortalUser) of the group.
Since:
2.2