SWRecordedViewModel

class SWRecordedViewModel

Undocumented

  • Undocumented

    Declaration

    Swift

    weak var delegate: SWRecordedBroadcastViewController?
  • Undocumented

    Declaration

    Swift

    var startTime: Double
  • Undocumented

    Declaration

    Swift

    var streamEndTime: Double
  • Undocumented

    Declaration

    Swift

    private var endTime: Double
  • Undocumented

    Declaration

    Swift

    private var likes: [Int64 : [SWLikeModel]]
  • Undocumented

    Declaration

    Swift

    private var lastLikeTime: Double
  • Undocumented

    Declaration

    Swift

    private var lastFetchDone: Bool
  • Undocumented

    Declaration

    Swift

    private var endTimeOffset: Double
  • Undocumented

    Declaration

    Swift

    private var msgEndTime: Double
  • Undocumented

    Declaration

    Swift

    private var messages: [Int64 : [SWMessage]]
  • Undocumented

    Declaration

    Swift

    private var lastMsgTime: Double
  • Undocumented

    Declaration

    Swift

    private var lastMsgFetchDone: Bool
  • Undocumented

    Declaration

    Swift

    private var msgEndTimeOffset: Double
  • Undocumented

    Declaration

    Swift

    init(delegate: SWRecordedBroadcastViewController)
  • makes an api call and fetches all the recorded likes

    Declaration

    Swift

    func fetchRecordedLikes()
  • searchs for the like at the current instance and if present in array then displayes to the server

    Declaration

    Swift

    func showLikesAt(currentTime: Double)

    Parameters

    currentTime

    time w.r.t to current time

  • makes an api call and fetches all the recorded Messages

    Declaration

    Swift

    func fetchRecordedMessages()