SWMergedBroadcastDetailsViewController

final class SWMergedBroadcastDetailsViewController : SWBaseViewController, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, SWLoginPopupViewControllerDelegate, UIScrollViewDelegate

Undocumented

  • Share button tap handler.

    Declaration

    Swift

    @IBAction
    func shareAction(_ sender: Any)

    Parameters

    sender

    <#sender description#>

  • Undocumented

    Declaration

    Swift

    @IBAction
    func channelBtnTapped(_ sender: Any)
  • Bookmark button tap handler.

    Declaration

    Swift

    @IBAction
    func bookmarkBtnClick(_ sender: Any)

    Parameters

    sender

    <#sender description#>

  • Follow button tap handler.

    Declaration

    Swift

    @IBAction
    func followBtnClicked(_ sender: Any)

    Parameters

    sender

    <#sender description#>

  • Handler for tapping View all viewers buttons.

    Declaration

    Swift

    @IBAction
    func viewAllViewersBtnClicked(_ sender: Any)

    Parameters

    sender

    <#sender description#>

  • Handler for rating buttons (Stars)

    Declaration

    Swift

    @IBAction
    func ratingBtnClicked(_ sender: UIButton)
  • Handler for tapping search button.

    Declaration

    Swift

    @IBAction
    func searchBtnClicked(_ sender: Any)

    Parameters

    sender

    <#sender description#>

  • set the orientation to specified input

    Declaration

    Swift

    func setOrientation(to: UIInterfaceOrientation)

    Parameters

    to

    <#to description#>

  • Undocumented

    Declaration

    Swift

    func numberOfSections(in collectionView: UICollectionView) -> Int
  • Undocumented

    Declaration

    Swift

    func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
  • Undocumented

    Declaration

    Swift

    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
  • Undocumented

    Declaration

    Swift

    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
  • When close button at profile or channel view is clicked, just dismiss it.

    Declaration

    Swift

    @objc
    func closePresentedVCBtnClicked()
  • Handler for tapping profile details view. Should open profile view.

    Declaration

    Swift

    @objc
    func userDetailsClicked()
  • Show profile popup card for specified user with type (Speaker or a viewer)

    Declaration

    Swift

    func showProfileCardFor(user: SWUser, type: UserType)

    Parameters

    user

    <#user description#>

    type

    <#type description#>

  • Undocumented

    Declaration

    Swift

    func fetchAndUpdateParticipants()
  • Update follow button user follow / unfollow the broadcaster.

    Declaration

    Swift

    @objc
    func updateFollowBtn(notification: NSNotification)

    Parameters

    notification

    <#notification description#>

  • Handler for successful login. Login from this screen could be initiated by tapping follow button only. So process with following broadcaster.

    Declaration

    Swift

    func loginSuccessful()
  • Undocumented

    Declaration

    Swift

    func refreshView()
  • Undocumented

    Declaration

    Swift

    func handleOrientation()
  • checks and if auto rotate is allowed for the current scenario checks if recorded broadcast or broadcaster in case of live broadcast; then this function returns true, false otherwise

    Declaration

    Swift

    func allowedToRotatePortrait() -> Bool

    Return Value

    <#return value description#>