IVSRealTimeConnectionDelegate
Objective-C
@protocol IVSRealTimeConnectionDelegate
Swift
protocol Delegate
Delegate protocol for receiving IVSRealTimeConnection state updates.
-
Called when the connection state changes. This is always invoked on the main queue.
Declaration
Objective-C
- (void)connection:(nonnull IVSRealTimeConnection *)connection didChangeState:(IVSRealTimeConnectionState)state withError:(nullable NSError *)error;Swift
func connection(_ connection: IVSRealTimeConnection, didChangeState state: IVSRealTimeConnection.State, withError error: (any Error)?)