SWMergedBroadcastDetailsViewController
final class SWMergedBroadcastDetailsViewController : SWBaseViewController, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, SWLoginPopupViewControllerDelegate, UIScrollViewDelegate
Undocumented
-
Undocumented
Declaration
Swift
let DescriptionSectionIndex: Int
-
Undocumented
Declaration
Swift
let SpeakersHeaderSectionIndex: Int
-
Undocumented
Declaration
Swift
let SpeakersSectionIndex: Int
-
Undocumented
Declaration
Swift
let ViewersHeaderSectionIndex: Int
-
Undocumented
Declaration
Swift
let ViewersSectionIndex: Int
-
Undocumented
Declaration
Swift
let ViewersFooterSectionIndex: Int
-
Undocumented
See moreDeclaration
Swift
enum BroadcastType
-
Undocumented
Declaration
Swift
var broadcastType: SWMergedBroadcastDetailsViewController.BroadcastType
-
Undocumented
Declaration
Swift
var isBroadcaster: Bool
-
Undocumented
Declaration
Swift
var participants: [SWParticipant]
-
Undocumented
Declaration
Swift
var viewers: [SWParticipant]
-
Undocumented
Declaration
Swift
var broadcastingLocation: String
-
Undocumented
Declaration
Swift
var loginInitiator: LoginInitiator
-
Undocumented
Declaration
Swift
var streamOrientation: UIInterfaceOrientation
-
Undocumented
Declaration
Swift
var refreshViewToLandscapeOrientation: Bool
-
Undocumented
Declaration
Swift
weak var delegate: LiveRoomViewController?
-
Rating provided by current viewer to associated broadcast.
Declaration
Swift
var userRating: Int
-
Associated broadcast object.
Declaration
Swift
@objc var broadcastData: BroadcastMetadata!
-
Undocumented
Declaration
Swift
override var shouldAutorotate: Bool { get }
-
Reference to back UIButton. Handler for tapping this button is within LiveViewController As it should scroll to Page0.
Declaration
Swift
@IBOutlet weak var backBtn: UIButton!
-
Undocumented
Declaration
Swift
let descriptionCellHeight: CGFloat
-
Undocumented
Declaration
Swift
let speakersAndViewersHeaderHeight: CGFloat
-
Undocumented
Declaration
Swift
let speakersAndViewersCellWidth: CGFloat
-
Undocumented
Declaration
Swift
let speakersAndViewersCellHeight: CGFloat
-
Undocumented
Declaration
Swift
let footerCellHeight: CGFloat
-
Undocumented
Declaration
Swift
let defaultHeight: CGFloat
-
Login view controller hold in a property to be dismissed when
Declaration
Swift
var guestLoginBlockViewController: SWLoginPopupViewController?
-
Main collection view of this view.
Declaration
Swift
@IBOutlet weak var collectionView: UICollectionView!
-
Undocumented
Declaration
Swift
var isDataUpdatedWhileScrolling: Bool
-
Undocumented
Declaration
Swift
var descriptionCellAutoSize: CGSize?
-
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 navigateToAllViewersPage(_ searchButtonTapped: Bool = false)
-
this api checks if the user is participant
Declaration
Swift
func isParticipant(userId: NSNumber) -> Bool
Parameters
userId
user id of the viewers to be passed
Return Value
true if the user id is participant or broadcaster himself
-
Undocumented
Declaration
Swift
func updateParticipantsWith(users: [SWParticipant])
-
updates the viewers list
Declaration
Swift
func updateViewersWith(users: [SWParticipant])
Parameters
users
<#users description#>
-
Undocumented
Declaration
Swift
func shouldDisplaySpeakers() -> Bool
-
Undocumented
Declaration
Swift
func getReverseGeocodeLocation()
-
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
-
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#>
-
Undocumented
Declaration
Swift
func scrollViewDidScroll(_ scrollView: UIScrollView)
-
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
override func viewDidLoad()
-
Undocumented
Declaration
Swift
override func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
override func didReceiveMemoryWarning()
-
Undocumented
Declaration
Swift
func updateParticipants()
-
Undocumented
Declaration
Swift
func showLoginPopupView(from initiator : LoginInitiator = .unknown)
-
Undocumented
Declaration
Swift
func getBroadcastDescriptionText() -> NSAttributedString
-
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#>