Trigger
public class Trigger: NSObject, NSCoding
Class represents Trigger
-
Undocumented
Declaration
Swift
public class Trigger: NSObject, NSCoding
-
Undocumented
Declaration
Swift
public class Trigger: NSObject, NSCoding
-
ID of the Trigger
Declaration
Swift
public let triggerID: String
-
ID of the Trigger target
Declaration
Swift
public let targetID: TypedID
-
Flag indicate whether the Trigger is enabled
Declaration
Swift
public let enabled: Bool
-
Predicate of the Trigger
Declaration
Swift
public let predicate: Predicate
-
Command to be fired
Declaration
Swift
public let command: Command?
-
ServerCode to be fired
Declaration
Swift
public let serverCode: ServerCode?
-
Title of the Trigger
Declaration
Swift
public let title: String?
-
Description of the Trigger
Declaration
Swift
public let triggerDescription: String?
-
Metadata of the Trigger
Declaration
Swift
public let metadata: Dictionary<String, AnyObject>?
-
Init Trigger with Command
Parameter
Parameter triggerID: ID of triggerParameter
Parameter targetID: ID of trigger targetParameter
Parameter enabled: True to enable triggerParameter
Parameter predicate: Predicate instanceParameter
Parameter command: Command instanceDeclaration
Parameters
triggerID
ID of trigger
targetID
ID of trigger target
enabled
True to enable trigger
predicate
Predicate instance
command
Command instance
-
Init Trigger with Server code
Parameter
Parameter triggerID: ID of triggerParameter
Parameter targetID: ID of trigger targetParameter
Parameter enabled: True to enable triggerParameter
Parameter predicate: Predicate instanceParameter
Parameter serverCode: ServerCode instanceDeclaration
Swift
public init(triggerID: String, targetID: TypedID, enabled: Bool, predicate: Predicate, serverCode: ServerCode, title: String? = nil, triggerDescription: String? = nil, metadata: Dictionary<String, AnyObject>? = nil)
-
Undocumented
Declaration
Swift
public class Trigger: NSObject, NSCoding