XPSDKResponse
@objc
open class XPSDKResponse : NSDictionary
- 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.
-
The unparsed response from server as dictionary
Declaration
Swift
open internal(set) var response: NSDictionary?
-
Parsed items received for the command
Declaration
Swift
open internal(set) var items: NSDictionary?
-
Items
Declaration
Swift
open internal(set) var outputsAndEvents: NSArray?
-
Declaration
Swift
open internal(set) var users: NSArray?
-
Declaration
Swift
open internal(set) var error: NSError?
-
Declaration
Swift
open internal(set) var responseItems: NSArray?
-
endpoints: Get response items of type endpoint
Declaration
Swift
open func endpoints() -> NSArray?
-
alarms: Get response items of type alarms
Declaration
Swift
open func alarms() -> NSArray?
-
alarmDataSettings: Get response items of type alarm data settings
Declaration
Swift
open func alarmDataSettings() -> NSArray?