Header

@objcMembers
open class Header : SBUBaseChannelModule.Header, SBUChannelInfoHeaderViewDelegate

A module component that represent the header of SBUOpenChannelModule.

LifeCycle

  • Declaration

    Swift

    open override func setupViews()
  • Declaration

    Swift

    open override func setupLayouts()
  • Declaration

    Swift

    open override func setupStyles(theme: SBUChannelTheme? = nil)
  • Declaration

    Swift

    open override func updateStyles(theme: SBUChannelTheme? = nil)
  • Updates styles of the views in the header component with the theme.

    Declaration

    Swift

    open func updateStyles(overlaid: Bool = false)

    Parameters

    overlaid

    When the it’s on overlaying mode, assign true for this parameter. The default value is false.

Right bar button

  • Updates the right bar button item with operator status of the current user.

    Declaration

    Swift

    open func updateBarButton(isOperator: Bool)

SBUChannelInfoHeaderViewDelegate

Actions