TeamClient
public class TeamClient
An iOS client wrapper of the Cisco Webex Teams REST API .
Since
1.2.0-
Enum for errors that can occur when archiving a team
See moreDeclaration
Swift
public enum TeamArchiveError : String -
Enum for errors that can occur when updating a Team
See moreDeclaration
Swift
public enum TeamUpdateError : String -
Lists teams to which the authenticated user belongs.
Since
1.2.0Declaration
Parameters
maxThe maximum number of teams in the response.
queueThe queue on which the completion handler is dispatched.
completionHandlerA closure to be executed once the request has finished.
Return Value
Void
-
Creates a team. The authenticated user is automatically added as a member of the team. See the Team Memberships API to learn how to add more people to the team.
Since
1.2.0See
see TeamMembershipClient APIDeclaration
Parameters
titleA user-friendly name for the team.
queueThe queue on which the completion handler is dispatched.
completionHandlerA closure to be executed once the request has finished.
Return Value
Void
-
Retrieves the details for a team by id.
Since
1.2.0Declaration
Parameters
teamIdThe identifier of the team. (Derived parameter: Use
TeamClient.list(...)to get a list of teams. Then useTeam.idto retrieve the teamId)queueThe queue on which the completion handler is dispatched.
completionHandlerA closure to be executed once the request has finished.
Return Value
Void
-
Updates the details for a team by id.
Since
1.2.0Declaration
Parameters
teamIdThe team id. (Derived parameter: Use
TeamClient.list(...)to get a list of teams. Then useTeam.idto retrieve the teamId)nameA user-friendly name for the team.
queueThe queue on which the completion handler is dispatched.
completionHandlerA closure to be executed once the request has finished.
Return Value
Void
-
Deletes a team by id.
Since
1.2.0Declaration
Swift
public func delete(teamId: String, queue: DispatchQueue? = nil, completionHandler: @escaping (Result<Void>) -> Void)Parameters
teamIdThe team id. (Derived parameter: Use
TeamClient.list(...)to get a list of teams. Then useTeam.idto retrieve the teamId)queueThe queue on which the completion handler is dispatched.
completionHandlerA closure to be executed once the request has finished.
Return Value
Void
View on GitHub