RawFeedbackEvent
public class RawFeedbackEvent
Raw representation of feedback event. Can be stored and sent later. Full access to the event content via attributes field. Be careful with keys!
-
Event all data.
Declaration
Swift
public var attributes: [String : Any] -
Feedback reason. Modifies
attributesfieldDeclaration
Swift
public var reason: String? { get set } -
Feedback text. Modifies
attributesfieldDeclaration
Swift
public var text: String? { get set } -
Direct access to attributes
Declaration
Swift
public subscript(key: String) -> Any { get set } -
Build RawFeedbackEvent with provided attributes dictionary. Does not apply any content check.
Declaration
Swift
public init(attributes: [String : Any])Parameters
attributesevent field
-
Build RawFeedbackEvent with provided attributes dictionary.
Declaration
Swift
public convenience init?(json: Data)Parameters
jsonjsonObject as
[String: Any] -
JSON data build from
attributesfield.Declaration
Swift
public func json() -> Data?Return Value
Returns JSON data
RawFeedbackEvent Class Reference