Skip to main content
CometChat SDK provides you with a mechanism to get real-time status whenever a user logs into CometChat or logs out from CometChat. Login Listener provides you with the below 4 methods: In order to use the Delegate methods you must add protocol conformance CometChatLoginDelegate as CometChat.logindelegate = self . Here is the example of CometChatLoginDelegate: