NamedValue
public protocol NamedValue
A name-value pair in an event. Typically, the name is the name of an attribute, and value is the attribute’s value. But a name-value pair could also be the name of a field in a format, or the name of an action.
-
Get the name.
Declaration
Swift
func getName() -> String
Return Value
the name
-
Get the value.
Declaration
Swift
func getValue() -> Any?
Return Value
the value
-
Get the next name-value pair in the event. This method returns
nil
if there are no more name-value pairs.Declaration
Swift
func next() -> NamedValue?
Return Value
the next name-value pair, or
nil