WOVContactObject

@objc final public class WOVContactObject: NSObject, NSSecureCoding

The model that represents WOVER user’s resolved contact.

  • An array with contact ids as they are uploaded by user’s contact list.

    Declaration

    Swift

    public let contactIds: [String]
  • Contact’s last name.

    Declaration

    Swift

    public let lastName: String
  • Contact’s first name.

    Declaration

    Swift

    public let firstName: String
  • Contact’s middle name if any.

    Declaration

    Swift

    public let middleName: String?
  • Contact’s relationship with current user.

    Declaration

    Swift

    public let relationship: String?
  • Contact’s profile picture url if any.

    Declaration

    Swift

    public let profilePicture: String?
  • An array with WOVPhoneObject that represents contact’s phone numbers.

    Declaration

    Swift

    public let phones: [WOVPhoneObject]
  • An array with WOVAddressObject that represents contact’s addresses.

    Declaration

    Swift

    public let addresses: [WOVAddressObject]
  • An array with WOVAddressObject that represents contact’s e-mail(s).

    Declaration

    Swift

    public let emails: [WOVEmailObject]
  • A boolean indicating if contact is assigned by user to be notified when an emergency event occurs.

    Declaration

    Swift

    public var assigned: Bool = false
  • A boolean indicating if NSSecureCoding is supported or not

    Declaration

    Swift

    public static var supportsSecureCoding: Bool
  • Creates a ‘WOVContact’ from a dictionary;

    Declaration

    Swift

    public init?(parameters: JSONDictionary)

    Parameters

    parameters

    Dictionary can be retrieved by method.

  • Creates a dictionary representation so it can be stored.

    Declaration

    Swift

    public func dictionaryRepresentation() -> JSONDictionary

    Return Value

    A key value representation.

  • /////////////////////////////////////////////////////////////////////////

    Declaration

    Swift

    public func encode(with aCoder: NSCoder)
  • /////////////////////////////////////////////////////////////////////////

    Declaration

    Swift

    public init?(coder aDecoder: NSCoder)