VisitorEventDataType
public enum VisitorEventDataType
extension VisitorEventDataType: Encodable
The different types of data on a visitor event.
-
Data for a custom visitor event. Any encoded string is accepted.
Declaration
Swift
case custom(String)
-
Encodes values into a native format for external representation.
Throws
EncodingError.invalidValue(_:_:)if the given value is invalid in the current context for this format.Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderThe type that can encode values.
View on GitHub