Skip to main content

CurrentChatUserControllerDelegate

CurrentChatUserController uses this protocol to communicate changes to its delegate.

public protocol CurrentChatUserControllerDelegate: AnyObject 

Inheritance

AnyObject

Default Implementations

currentUserController(_:didChangeCurrentUserUnreadCount:)

func currentUserController(_ controller: CurrentChatUserController, didChangeCurrentUserUnreadCount: UnreadCount) 

currentUserController(_:didChangeCurrentUser:)

func currentUserController(_ controller: CurrentChatUserController, didChangeCurrentUser: EntityChange<CurrentChatUser>) 

Requirements

currentUserController(_:​didChangeCurrentUserUnreadCount:​)

The controller observed a change in the UnreadCount.

func currentUserController(_ controller: CurrentChatUserController, didChangeCurrentUserUnreadCount: UnreadCount)

currentUserController(_:​didChangeCurrentUser:​)

The controller observed a change in the CurrentChatUser entity.

func currentUserController(_ controller: CurrentChatUserController, didChangeCurrentUser: EntityChange<CurrentChatUser>)

Did you find this page helpful?