QNMeetingsRepository
public class QNMeetingsRepository
Service to manage meetings actions like create or delete
-
Delegate for subscribing to meetings updates
Declaration
Swift
public weak var delegate: QNMeetingsDelegate?
-
Creates a new meeting
Declaration
Swift
public func createMeeting(with invitation: QNMeetingInvitation, result: @escaping (Result<QNMeeting, ResourceError>) -> Void)
Parameters
invitation
Meeting invitation to create the meeting
task
Async task
-
Delete a meeting
Declaration
Swift
public func delete(meeting: QNMeeting, result: @escaping (Result<Void, ResourceError>) -> Void)
Parameters
meeting
Meeting to be deleted
task
Result with success on complete
-
Update a existing meeting
Declaration
Swift
public func updateMeeting(withId meetingId: String, using invitation: QNMeetingInvitation, result: @escaping (Result<QNMeeting, ResourceError>) -> Void)
Parameters
meetingId
Meeting identifier
invitation
New meeting invitation
task
Result with updated meeting
-
Fetch a meeting by its identifier
Declaration
Swift
public func meeting(withId meetingId: String, result: @escaping (Result<QNMeeting, ResourceError>) -> Void)
Parameters
meetingId
Meeting identifier
result
Result with meeting instance
-
Fetch all user meetings
Declaration
Swift
public func meetings(using meetingSearch: QNMeetingSearch = QNMeetingSearch(), result: @escaping (Result<[QNMeeting], ResourceError>) -> Void)
Parameters
meetingSearch
Fields to filter meetings like name or phone
result
Result with meetings list.
-
Join meeting by its identifier
Declaration
Swift
public func joinMeeting(withId meetingId: String, password: String?, result: @escaping (Result<QNConferenceRepository, QNConferenceError>) -> Void)
Parameters
meetingId
Meeting ID.
password
Password to enter the meetings if it is needed.
result
Result with JanusConference.