SwiftclassConversationKit

class ConversationKit.InCallControlsCollectionViewController

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 71

  1. varstatic var separatorStyle: UIVibrancyEffect { get }
  2. deinitdeinit
  3. fieldvar activity: ConversationKit.Activity?
  4. fieldvar activityCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsActivityCell, Foundation.UUID>?
  5. fieldvar addParticipantCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsAddParticipantCell, Foundation.UUID>?
  6. fieldvar blockUnknownCallerCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsBlockCell, Foundation.UUID>?
  7. fieldlet capabilitiesChecker: ConversationKit.IDSCapabilitiesChecker
  8. fieldvar collectionView: UICollectionView?
  9. fieldvar controlsManager: ConversationKit.ConversationControlsManager?
  10. fieldvar conversation: TUConversation?
  11. fieldvar dataSource: UIKit.UICollectionViewDiffableDataSource<ConversationKit.InCallControlsCollectionViewController.CollectionViewSection, Foundation.UUID>?
  12. fieldvar fallbackCellRegistration: UICollectionView.CellRegistration<UICollectionViewListCell, Foundation.UUID>?
  13. fieldlazy var featureFlags: TUFeatureFlags?
  14. fieldlet features: ConversationKit.FeaturesProtocol
  15. fieldvar gridLayoutStyle: ConversationKit.MultiwayViewController.LayoutStyle
  16. fieldvar ignoreLMIRequestsCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsIgnoreLMIRequestsCell, Foundation.UUID>?
  17. fieldweak var inCallControlsCollectionViewControllerDelegate: ConversationKit.InCallControlsCollectionViewControllerDelegate?
  18. fieldlet isLegacy: Bool
  19. fieldvar isOnScreen: Bool
  20. fieldvar leaveChannelFooterViewRegistration: UICollectionView.SupplementaryRegistration<ConversationKit.InCallControlsSectionFooterView>?
  21. fieldvar leavePTTChannelCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsPTTLeaveChannelCell, Foundation.UUID>?
  22. fieldweak var menuHostViewController: (UIViewController & ConversationKit.MenuHostProvider)?
  23. fieldvar mode: ConversationKit.InCallControlsMode
  24. fieldvar openPTTAppCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsPTTOpenAppCell, Foundation.UUID>?
  25. fieldvar participantCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsParticipantCell, Foundation.UUID>?
  26. fieldvar participants: [ConversationKit.Participant]
  27. fieldweak var participantsViewControllerDelegate: ConversationKit.ParticipantsViewControllerDelegate?
  28. fieldvar pttTitleCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsPTTTitleCell, Foundation.UUID>?
  29. fieldvar remoteAudioPaused: Bool
  30. fieldvar reportUnknownCallerCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsReportCell, Foundation.UUID>?
  31. fieldvar sectionHeaderViewRegistration: UICollectionView.SupplementaryRegistration<ConversationKit.InCallControlsSectionHeaderView>?
  32. fieldvar shareLinkCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsButtonCell, Foundation.UUID>?
  33. fieldvar shareLinkEnabled: Bool
  34. fieldvar shareLinkFooterViewRegistration: UICollectionView.SupplementaryRegistration<ConversationKit.InCallControlsSectionFooterView>?
  35. fieldvar statusCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsStatusCell, Foundation.UUID>?
  36. fieldvar titleCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsTitleCell, Foundation.UUID>?
  37. fieldvar toggleCaptionsCellRegistration: UICollectionView.CellRegistration<ConversationKit.InCallControlsToggleCaptionsCell, Foundation.UUID>?
  38. fieldvar updateDataSourceDebouncer: Combine.AnyCancellable?
  39. fieldvar updateDataSourceNeedsAnimatedDifferences: Bool
  40. fieldvar updateDataSourceNeedsRefreshParticipants: Bool
  41. fieldlet updateDataSourceSubject: Combine.PassthroughSubject<(), Never>
  42. fieldvar updatedCapabilitiesWithParticipants: Bool
  43. func_canShowWhileLocked() -> Bool
  44. funccaptioningStateDidChange() -> ()
  45. funccollectionView(_: UICollectionView, didSelectItemAt: Foundation.IndexPath) -> ()
  46. funcidsCapabilitiesChecker(_: ConversationKit.IDSCapabilitiesChecker, didUpdate: Set<Foundation.UUID>) -> ()
  47. funcinCallControlsActivityCell(_: ConversationKit.InCallControlsActivityCell, didTap: ConversationKit.Activity) -> ()
  48. funcinCallControlsBaseCellDidTapButton(ConversationKit.InCallControlsBaseCell) -> ()
  49. funcinCallControlsDidToggleCaptionsCell(ConversationKit.InCallControlsToggleCaptionsCell) -> ()
  50. funcinCallControlsDidToggleIgnoreLMIRequestsCell(ConversationKit.InCallControlsIgnoreLMIRequestsCell) -> ()
  51. funcinCallControlsParticipantCell(_: ConversationKit.InCallControlsParticipantCell, didTapAction: ConversationKit.InCallControlsParticipantCellViewModel.Action, for: Foundation.UUID) -> ()
  52. funcinCallControlsTitleCell(_: ConversationKit.InCallControlsTitleCell, didTap: ConversationKit.InCallControlsTitleCell.ButtonType, from: UIView) -> ()
  53. funcinCallControlsTitleCellDidTapButton(ConversationKit.InCallControlsTitleCell, ConversationKit.InCallControlsCollectionViewController.Action) -> ()
  54. funcparticipantSupportsMultiway(ConversationKit.Participant) -> Bool
  55. funcrefreshTitleCell() -> ()
  56. funcrefreshToggleIgnoreLMIRequestsRowCell() -> ()
  57. funcremoveAllParticipants() -> ()
  58. funcspatialPosition(for: ConversationKit.Participant, relativeTo: UIView) -> CGRect
  59. funcupdate(participant: ConversationKit.Participant, audioPower: Float) -> ()
  60. funcupdate(participant: ConversationKit.Participant, broadcastingState: ConversationKit.BroadcastingState?) -> ()
  61. funcupdate(participant: ConversationKit.Participant, isKickingAvailable: Bool) -> ()
  62. funcupdate(with: [ConversationKit.Participant], updateReason: ConversationKit.ParticipantsViewControllerUpdateReason) -> ()
  63. funcupdateLocalViews(for: [ConversationKit.Participant], isLocalMemberAuthorizedToChangeGroupMembership: Bool) -> ()
  64. funcviewDidLoad() -> ()
  65. funcvisibleCollectionViewSections() -> [ConversationKit.InCallControlsCollectionViewController.CollectionViewSection]
  66. initConversationKit.InCallControlsCollectionViewController.__allocating_init(conversation: TUConversation?, participants: [ConversationKit.Participant], mode: ConversationKit.InCallControlsMode, gridLayoutStyle: ConversationKit.MultiwayViewController.LayoutStyle, isLegacy: Bool, shareLinkEnabled: Bool, menuHostViewController: (UIViewController & ConversationKit.MenuHostProvider)?, features: ConversationKit.FeaturesProtocol) -> ConversationKit.InCallControlsCollectionViewController
  67. initConversationKit.InCallControlsCollectionViewController.__allocating_init(coder: NSCoder) -> ConversationKit.InCallControlsCollectionViewController?
  68. initConversationKit.InCallControlsCollectionViewController.__allocating_init(nibName: String?, bundle: NSBundle?) -> ConversationKit.InCallControlsCollectionViewController
  69. varfinal var isAddingParticipantsAllowed: Bool { get }
  70. varfinal var participantCount: Int { get }
  71. varfinal var participantIdentifiers: [Foundation.UUID] { get }
class InCallControlsCollectionViewController: __C.UIViewController, __C.UICollectionViewDelegate {
    enum CollectionViewSection {
        case title
        case currentActivity
        case participants
        case share
        case toggleCaptions
        case toggleIgnoreLMIRequests
        case blockAndReport
        case pttTitle
        case leavePTTChannel
        case openPTTApp

        var singleRowIdentifier: Foundation.UUID {
            get
        }

        static let addParticipantRowIdentifier: Foundation.UUID
        static let blockUnkownRowIdentifier: Foundation.UUID
        static let leavePTTChannelRowIdentifier: Foundation.UUID
        static let openPTTAppRowIdentifier: Foundation.UUID
        static let pttTitleRowIdentifier: Foundation.UUID
        static let reportUnknownRowIdentifier: Foundation.UUID
        static let shareLinkRowIdentifier: Foundation.UUID
        static let statusRowIdentifier: Foundation.UUID
        static let titleRowIdentifier: Foundation.UUID
        static let toggleCaptionsRowIdentifier: Foundation.UUID
        static let toggleIgnoreLMIRequestsRowIdentifier: Foundation.UUID
    }
    enum Action {
        case viewActivity(any ConversationKit.Activity)
        case buzz(Foundation.UUID)
        case approve(Foundation.UUID)
        case dismiss(Foundation.UUID)
        case kick(Foundation.UUID)
        case showMessages
        case addParticipant
        case toggleCanvasLayout
        case shareLink
        case toggleIgnoreLMIRequests
        case joinConversation
        case leaveConversation
        case toggleCaptions
        case block
        case report
    }
    var updatedCapabilitiesWithParticipants: Swift.Bool
    let capabilitiesChecker: ConversationKit.IDSCapabilitiesChecker
    final var participants: [ConversationKit.Participant]
    let features: any ConversationKit.FeaturesProtocol
    let isLegacy: Swift.Bool
    weak var menuHostViewController: (any __C.UIViewController & ConversationKit.MenuHostProvider)?
    lazy var featureFlags: __C.TUFeatureFlags?
    final var activity: (any ConversationKit.Activity)?
    final var conversation: __C.TUConversation?
    final var mode: ConversationKit.InCallControlsMode
    final var gridLayoutStyle: ConversationKit.MultiwayViewController.LayoutStyle
    final var isOnScreen: Swift.Bool
    final var controlsManager: ConversationKit.ConversationControlsManager?
    final var remoteAudioPaused: Swift.Bool
    final weak var participantsViewControllerDelegate: (any ConversationKit.ParticipantsViewControllerDelegate)?
    final weak var inCallControlsCollectionViewControllerDelegate: (any ConversationKit.InCallControlsCollectionViewControllerDelegate)?
    final var collectionView: __C.UICollectionView?
    var dataSource: UIKit.UICollectionViewDiffableDataSource<ConversationKit.InCallControlsCollectionViewController.CollectionViewSection, Foundation.UUID>?
    var shareLinkEnabled: Swift.Bool
    var updateDataSourceNeedsRefreshParticipants: Swift.Bool
    var updateDataSourceNeedsAnimatedDifferences: Swift.Bool
    let updateDataSourceSubject: Combine.PassthroughSubject<(), Swift.Never>
    var updateDataSourceDebouncer: Combine.AnyCancellable?
    var sectionHeaderViewRegistration: __C.UICollectionView.SupplementaryRegistration<ConversationKit.InCallControlsSectionHeaderView>?
    var activityCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsActivityCell, Foundation.UUID>?
    var titleCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsTitleCell, Foundation.UUID>?
    var statusCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsStatusCell, Foundation.UUID>?
    var participantCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsParticipantCell, Foundation.UUID>?
    var addParticipantCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsAddParticipantCell, Foundation.UUID>?
    var shareLinkCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsButtonCell, Foundation.UUID>?
    var shareLinkFooterViewRegistration: __C.UICollectionView.SupplementaryRegistration<ConversationKit.InCallControlsSectionFooterView>?
    var ignoreLMIRequestsCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsIgnoreLMIRequestsCell, Foundation.UUID>?
    var toggleCaptionsCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsToggleCaptionsCell, Foundation.UUID>?
    var fallbackCellRegistration: __C.UICollectionView.CellRegistration<__C.UICollectionViewListCell, Foundation.UUID>?
    var blockUnknownCallerCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsBlockCell, Foundation.UUID>?
    var reportUnknownCallerCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsReportCell, Foundation.UUID>?
    var pttTitleCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsPTTTitleCell, Foundation.UUID>?
    var leavePTTChannelCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsPTTLeaveChannelCell, Foundation.UUID>?
    var leaveChannelFooterViewRegistration: __C.UICollectionView.SupplementaryRegistration<ConversationKit.InCallControlsSectionFooterView>?
    var openPTTAppCellRegistration: __C.UICollectionView.CellRegistration<ConversationKit.InCallControlsPTTOpenAppCell, Foundation.UUID>?

    init(conversation: __C.TUConversation?, participants: [ConversationKit.Participant], mode: ConversationKit.InCallControlsMode, gridLayoutStyle: ConversationKit.MultiwayViewController.LayoutStyle, isLegacy: Swift.Bool, shareLinkEnabled: Swift.Bool, menuHostViewController: (any __C.UIViewController & ConversationKit.MenuHostProvider)?, features: any ConversationKit.FeaturesProtocol)

    @objc override init?(coder: __C.NSCoder)
    @objc override init(nibName: Swift.String?, bundle: __C.NSBundle?)

    final var isAddingParticipantsAllowed: Swift.Bool {
        get
    }
    final var participantCount: Swift.Int {
        get
    }
    final var participantIdentifiers: [Foundation.UUID] {
        get
    }

    @objc func collectionView(_: __C.UICollectionView, didSelectItemAt: Foundation.IndexPath)
    final func inCallControlsActivityCell(_: ConversationKit.InCallControlsActivityCell, didTap: any ConversationKit.Activity)
    final func inCallControlsParticipantCell(_: ConversationKit.InCallControlsParticipantCell, didTapAction: ConversationKit.InCallControlsParticipantCellViewModel.Action, for: Foundation.UUID)
    final func inCallControlsBaseCellDidTapButton(_: ConversationKit.InCallControlsBaseCell)
    final func inCallControlsDidToggleCaptionsCell(_: ConversationKit.InCallControlsToggleCaptionsCell)
    final func inCallControlsTitleCellDidTapButton(_: ConversationKit.InCallControlsTitleCell, _: ConversationKit.InCallControlsCollectionViewController.Action)
    final func inCallControlsDidToggleIgnoreLMIRequestsCell(_: ConversationKit.InCallControlsIgnoreLMIRequestsCell)
    final func inCallControlsTitleCell(_: ConversationKit.InCallControlsTitleCell, didTap: ConversationKit.InCallControlsTitleCell.ButtonType, from: __C.UIView)
    final func visibleCollectionViewSections() -> [ConversationKit.InCallControlsCollectionViewController.CollectionViewSection]
    @objc override func viewDidLoad()
    final func spatialPosition(for: ConversationKit.Participant, relativeTo: __C.UIView) -> __C.CGRect
    final func refreshTitleCell()
    final func updateLocalViews(for: [ConversationKit.Participant], isLocalMemberAuthorizedToChangeGroupMembership: Swift.Bool)
    final func _canShowWhileLocked() -> Swift.Bool
    final func removeAllParticipants()
    final func idsCapabilitiesChecker(_: ConversationKit.IDSCapabilitiesChecker, didUpdate: Swift.Set<Foundation.UUID>)
    final func captioningStateDidChange()
    final func participantSupportsMultiway(_: ConversationKit.Participant) -> Swift.Bool
    final func refreshToggleIgnoreLMIRequestsRowCell()
    final func update(participant: ConversationKit.Participant, audioPower: Swift.Float)
    final func update(participant: ConversationKit.Participant, broadcastingState: ConversationKit.BroadcastingState?)
    final func update(participant: ConversationKit.Participant, isKickingAvailable: Swift.Bool)
    final func update(with: [ConversationKit.Participant], updateReason: ConversationKit.ParticipantsViewControllerUpdateReason)

    static let separatorStyle: __C.UIVibrancyEffect

    deinit
}