SWReportBroadcastConfirmationViewController
class SWReportBroadcastConfirmationViewController : SWBaseViewController
Undocumented
-
Undocumented
Declaration
Swift
var reason: String!
-
Undocumented
Declaration
Swift
var user: SWUser!
-
Undocumented
Declaration
Swift
var broadcastId: NSNumber!
-
Undocumented
Declaration
Swift
var delegate: SWReportBroadcastConfirmationViewControllerDelegate?
-
Undocumented
Declaration
Swift
var dismissCallback: (() -> Void)?
-
Undocumented
Declaration
Swift
var confirmCallback: (() -> Void)?
-
Undocumented
Declaration
Swift
var cancelCallback: (() -> Void)?
-
Undocumented
See moreDeclaration
Swift
enum ReporBroadcastAPIEnum : String
-
Undocumented
Declaration
Swift
@IBOutlet weak var titleLabel: UILabel!
-
Undocumented
Declaration
Swift
@IBOutlet weak var userView: UIView!
-
Undocumented
Declaration
Swift
@IBOutlet weak var userProfileImageView: UIImageView!
-
Undocumented
Declaration
Swift
@IBOutlet weak var userNameLabel: UILabel!
-
Undocumented
Declaration
Swift
@IBOutlet weak var userHandleLabel: UILabel!
-
Undocumented
Declaration
Swift
@IBOutlet weak var descriptionLabel: UILabel!
-
Undocumented
Declaration
Swift
@IBOutlet weak var reportActionLabel: UILabel!
-
Undocumented
Declaration
Swift
@IBOutlet weak var reportButton: UIButton!
-
Undocumented
Declaration
Swift
override func viewDidLoad()
-
Undocumented
Declaration
Swift
func setCancelBlock(cancelBlock: @escaping () -> Void)
-
Undocumented
Declaration
Swift
func setConfirmBlock(confirmBlock: @escaping () -> Void)
-
to pass a function which will executed
Declaration
Swift
func setDismissBlock(dismissBlock: @escaping () -> Void)
Parameters
dismissBlock
function which should be executed
-
loads the UI based on the reason specified for the user to report the braodcast
Declaration
Swift
func loadUIBasedOnReason()
-
Undocumented
Declaration
Swift
@IBAction func reportButtonTapped(_ sender: Any)
-
Undocumented
Declaration
Swift
@IBAction func cancelButtonTapped(_ sender: UIButton)
-
Undocumented
Declaration
Swift
func dismissView()
-
makes api call to report the broadcast with a reason
Declaration
Swift
func reportBroadcastWith(reason: String)
Parameters
reason
reason
-
Makes an api call reports the user and removes all the broadcast of that video from home
Declaration
Swift
func reportUser()
-
deletes the broadcast and returnes back to the live screen
Declaration
Swift
func deleteBroadcast()