KLInviteParticipantViewController
@objc
class KLInviteParticipantViewController : UIViewController
Undocumented
-
Undocumented
Declaration
Swift
@IBOutlet weak var speakersCollectionView: UICollectionView!
-
Undocumented
Declaration
Swift
var stream: SWStream!
-
Undocumented
Declaration
Swift
var participants: [SWParticipant]
-
Undocumented
Declaration
Swift
var viewers: [SWParticipant]
-
Undocumented
Declaration
Swift
var singleTapOnBroadcasterProfile: UITapGestureRecognizer?
-
Undocumented
Declaration
Swift
weak var delegate: LiveRoomViewController?
-
Undocumented
Declaration
Swift
weak var recordedViewController: SWRecordedBroadcastViewController?
-
Undocumented
Declaration
Swift
var noSpeakerLabelVisible: Bool
-
Undocumented
Declaration
Swift
var speakersViewAllButtonThreshold: Int
-
Undocumented
Declaration
Swift
var viewersViewAllButtonThreshold: Int
-
Undocumented
Declaration
Swift
override func viewDidLoad()
-
Undocumented
Declaration
Swift
override func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
override func viewDidAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
func fetchAndUpdateParticipants()
-
Undocumented
Declaration
Swift
func updateParticipantsWith(users: [SWParticipant])
-
updates the viewers list
Declaration
Swift
func updateViewersWith(users: [SWParticipant])
Parameters
users
<#users description#>
-
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
-
This function disbales the add participant button when the broadcast is over
Declaration
Swift
func disableBroadcastButtonIfEnabled()
-
Undocumented
Declaration
Swift
func updateEmptySpeakersLabel()
-
Undocumented
Declaration
Swift
@objc func openBroadcasterProfile()
-
Undocumented
Declaration
Swift
func openProfileCardFor(user: SWUser, type: UserType)
-
Undocumented
Declaration
Swift
func presentOnParent(viewController: UIViewController, animated: Bool)
-
Undocumented
Declaration
Swift
@objc func closePresentedViewController()
-
Undocumented
Declaration
Swift
@objc func closeModel()
-
takes scolls to page 0
Declaration
Swift
@IBAction func backButtonTapped(_ sender: UIButton)
Parameters
sender
sender of the button
-
Undocumented
Declaration
Swift
@IBAction func addSpeakersButtonTapped(_ sender: Any)
-
Undocumented
Declaration
Swift
@IBAction func speakersViewAllButtonPressed(_ sender: Any)
-
Undocumented
Declaration
Swift
@IBAction func viewersViewAllButtonPressed(_ sender: Any)
-
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, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
-
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForHeaderInSection section: Int) -> CGSize
-
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForFooterInSection section: Int) -> CGSize
-
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView
-
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
-
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)