SippoClient
public class SippoClient
Entry point to create calls, listen to incoming calls and manage register/login. A reachable WAC and gateway is needed.
-
Delegate to manage state changes
Declaration
Swift
public weak var delegate: ClientStateDelegate?
-
SippoClient instance
Declaration
Swift
public private(set) static var client = SippoClient(options: Options())
-
Service to manage Chat logic like create chat or send message
Declaration
Swift
public lazy var chats: SippoService<Chats> =
-
Service to manage Invitation logic like send or cancel invitations and to subscribe for invitation events
Declaration
Swift
public lazy var invitations: Invitations =
-
Service to create conferences
Declaration
Swift
public lazy var conferences: Conferences =
-
-
Service to manage Contact logic like create or update contact and to subscribe for contact events
Declaration
Swift
public lazy var contacts: SippoService<Contacts> =
-
Service to fetch user groups and receive group events like new group
Declaration
Swift
public lazy var groups: SippoService<Groups> =
-
Service to manage Presence logic like subscribe or update presence and to subscribe for presence events
Declaration
Swift
public lazy var presences: SippoService<Presences> =
-
Declaration
Swift
public lazy var meetings: SippoService<Meetings> =
-
Fires actions for WebRTC configuration, should be called only once in app life cycle
Declaration
Swift
public static func configureRTC()
-
Configure a new Session, if other Session exists, it’s still alive (logout is needed explicity)
Declaration
Swift
public class func configure(with options: Options)
Parameters
wacUrl
WAC URL
-
Suspend session, should be called when app enters background
Declaration
Swift
public func suspend()
-
Resume session, stablishing a new connection to server, should be called when app enters foreground
Declaration
Swift
public func resume()