QiscusCoreDelegate
public protocol QiscusCoreDelegate
Undocumented
-
new comment is comming
Declaration
Swift
func onRoom(_ room: RoomModel, gotNewComment comment: CommentModel)Parameters
roomroom where event happen
commentnew comment object
-
comment status change
Declaration
Swift
func onRoom(_ room: RoomModel, didChangeComment comment: CommentModel, changeStatus status: CommentStatus)Parameters
roomroom where event happen
commentnew comment where status is change, you can compare from local data
statuscomment status, exp: deliverd, receipt, or read. special case for read, for example we have message 1,2,3,4,5 then you got status change for message 5 it’s mean message 1-4 has been read
-
User Typing Indicator
Declaration
Swift
func onRoom(_ room: RoomModel, thisParticipant user: MemberModel, isTyping typing: Bool)Parameters
roomroom where event happen
userobject user or participant
typingtrue if user start typing and false when finish typing. typing time avarange is 5-10s, we assume user typing is finish after that
-
User Online status
Declaration
Swift
func onChange(user: MemberModel, isOnline online: Bool, at time: Date)Parameters
userobject member
statustrue if user login
timemillisecond UTC
-
Undocumented
Declaration
Swift
func gotNew(room: RoomModel) -
Undocumented
Declaration
Swift
func remove(room: RoomModel)
QiscusCoreDelegate Protocol Reference