Get All Groups
To get groups from local or server, call below method
Argument | Type | Description |
---|---|---|
fetchFromServer | Bool | if fetchFromServer is true, groups will be feteched from server or else from local |
completionHandler | FlyCompletionHandler | callback to get success or failure response. implemented as closure expression |
info
func didFetchGroups(groups : [ProfileDetails], message : String) method will be called, which is defined in GroupEventsDelegate.