Swift Rest SDK Documentation Beta

Class Mobiledge​XiOSLibrary.​Matching​Engine​State

public class MatchingEngineState

Each instance of MatchingEngine class contains MatchingEngineState Holds information about app instance, information required for MatchingEngine API calls, and any necessary device info

Member Of

MobiledgeXiOSLibrary

Swift MobiledgeX SDK namespace Used for "namespacing" purposes to prevent naming conflicts from common names (Util, NetworkInterface, etc.)

Properties

device

var device: UIDevice

Information about state of device

closest​Cloudlet

var closestCloudlet = ""

execution​Queue

var executionQueue

device​Manufacturer

var deviceManufacturer = "Apple"

app​Name

var appName: String

app​Version

var appVersion: String

Methods

set​Use​Wifi​Only(enabled:​)

public func setUseWifiOnly(enabled: Bool)

is​Use​Wifi​Only()

public func isUseWifiOnly() -> Bool