StringValueConvertible

public protocol StringValueConvertible

The Mobile Connect SDK returns various error and message structures. You may wish to serialise these to a string value and act upon them using this protocol which provides a stable programmatic string value (as opposed to description which should only be used for debugging and diagnostics)

  • Returns a programmatic string representation of this object. This value is NOT localised and is stable, so you can make logical decisions based on its value

    Declaration

    Swift

    var stringValue: String { get }