ApiRTC iOS SDK Documentation

Class Enterprise

open class Enterprise  

This class refers to the user's enterprise

Methods

get​Id()

open func getId() -> Int  

fetch​Enterprise​Information(options:​completion:​)

open class func fetchEnterpriseInformation(options: FetchEnterpriseInformationOptions, completion: @escaping (_ error: Error?, _ info: EnterpriseInformation?) -> Void)  

Fetch enterprise information if available

fetch​Site​Agents(site​Key:​options:​completion:​)

open class func fetchSiteAgents(siteKey: String, options: FetchSiteAgentsOptions? = nil, completion: @escaping (_ error: Error?, _ agents: [Agent]?) -> Void)  

Fetch agents from a site using its siteKey

create​Private​Conference(_:​completion:​)

open func createPrivateConference(_ options: PrivateConferenceCreationOptions, completion: @escaping (_ error: Error?, _ conference: Conference?) -> Void)  

Create a new private conference on the cloud

get​Available​Conferences(completion:​)

open func getAvailableConferences(completion: @escaping (_ error: Error?, _ conferences: [Conference]?) -> Void)  

Returns enterprise conferences available to the user

get​Contacts(completion:​)

open func getContacts(completion: @escaping (_ error: Error?, _ conferences: [Contact]?) -> Void)  

Returns contact list for enterprise

get​Tags(web​Conference​Id:​completion:​)

open func getTags(webConferenceId: String? = nil, completion: @escaping (_ error: Error?, _ tags: [EnterpriseTag]?) -> Void)