QNGroupsDelegate

public protocol QNGroupsDelegate : AnyObject

Delegate where groups events are received

Events

  • User wad added to a group

    Declaration

    Swift

    func didAddGroup(_ group: QNGroupRepository)

    Parameters

    group

    Group where user was added

  • A Group was updated

    Declaration

    Swift

    func didUpdateGroup(_ group: QNGroupRepository)

    Parameters

    group

    Updated Group

  • A Group was deleted

    Declaration

    Swift

    func didRemoveGroup(_ groupId: String)

    Parameters

    groupId

    Deleted Group ID

  • A participant was removed from Group

    Declaration

    Swift

    func didRemoveParticipantFromGroup(_ groupId: String)

    Parameters

    groupId

    Updated Group ID