TriggerOptions

public class TriggerOptions: NSObject, NSCoding

Options of trigger.

This class contains optional data in order to create and modify Trigger with following methods:

  • Title of a command.

    Declaration

    Swift

    public let title: String?
  • Description of a trigger.

    Declaration

    Swift

    public let triggerDescription: String?
  • Meta data of a trigger.

    Declaration

    Swift

    public let metadata: Dictionary<String, AnyObject>?
  • Initializer of TriggerOptions instance.

    Parameter

    Parameter title: Title of a command. This should be equal or less than 50 characters.

    Parameter

    Parameter description: Description of a comand. This should be equal or less than 200 characters.

    Parameter

    Parameter metadata: Meta data of a command.

    Declaration

    Swift

    public init(title: String? = nil,
                    triggerDescription: String? = nil,
                    metadata: Dictionary<String, AnyObject>? = nil)

    Parameters

    title

    Title of a command. This should be equal or less than 50 characters.

    description

    Description of a comand. This should be equal or less than 200 characters.

    metadata

    Meta data of a command.

  • Undocumented

    Declaration

    Swift

    public class TriggerOptions: NSObject, NSCoding
  • Undocumented

    Declaration

    Swift

    public class TriggerOptions: NSObject, NSCoding