MessageForm
open class MessageForm: NSObject, Codable, NSCopying
Message form data Since: 4.21.0
-
Unique ID value
Declaration
Swift
public let id: Int64
-
The name of the form specified in the dashboard
Declaration
Swift
public let name: String
-
Message form item list
Declaration
Swift
public let items: [MessageFormItem]
-
Version of the form
Declaration
Swift
public let version: Int
-
Copies this object
Declaration
Swift
public func copy(with zone: NSZone? = nil) -> Any
Parameters
zone
optional
NSZone
Return Value
Form
instance -
Default constructor.
Declaration
Swift
public required init(from decoder: Decoder) throws
Parameters
decoder
Decoder
instance -
Encodes this object.
Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
Encoder
instance
-
Indicates that the form data has already been submitted.
Declaration
Swift
public var isSubmitted: Bool
-
Indicates that the form data can be submitted.
Declaration
Swift
public var canSubmit: Bool
Return Value
If
true
, can be submitted NOTE: You MUST store the value entered by user interaction in thetemporaryAnswer
.