cancel() Cancels the connection group object and leaves the network group. Declarationfinal func cancel() See AlsoManaging GroupsstateUpdateHandlerNWConnectionGroup.Statestate