Classes
The following classes are available globally.
-
Class through which all the commands to server are called
See moreDeclaration
Swift
open class XPMobileSDK : NSObject
-
Main Connection. This class encapsulates:
- connection state management
- commands sending to the server
- keep alive messages (LiveMessage commands). * The class uses XPSDKRequest to send commands to server. Most commands methods (if not all), such as getViews and requestStream return a connectionRequest object to the callee. This object can be used to cancel the request if needed via the cancelRequest method.
Declaration
Swift
@objc open class XPSDKConnection : NSObject, XPSDKRequestDelegate
-
High level video object for quick set-up and start a live video.
See moreDeclaration
Swift
@objc open class XPSDKLiveVideo : NSObject
-
XPSDKRequest class represents the request object that is being sent to the Mobile Server
See moreDeclaration
Swift
open class XPSDKRequest : NSObject, URLSessionDelegate
-
- Class that represents the response from server when a request is executed The connection response class is internal and instances should only be created from the ConnectionRequest class. The goal of the class is to parse response from the server and serve it as simpler JavaScript object.
Declaration
Swift
@objc open class XPSDKResponse : NSDictionary
-
Class that represents a server info, setup by the user, with its settings
See moreDeclaration
Swift
@objc open class XPSDKServerInfo : NSObject
-
XPSDKVideoFactory class is used to create the VideoChannelThread and sending request for a video..
See moreDeclaration
Swift
@objc open class XPSDKVideoFactory : NSObject