UserProfileLocation

public struct UserProfileLocation

Contains specific data for a Location

  • The user’s latitude

    Declaration

    Swift

    public var latitude: Double?
  • The user’s longitude

    Declaration

    Swift

    public var longitude: Double?
  • The user’s postal code

    Declaration

    Swift

    public var postalCode: String?
  • The user’s city

    Declaration

    Swift

    public var city: String?
  • The user’s region

    Declaration

    Swift

    public var region: String?
  • The user’s country

    Declaration

    Swift

    public var country: String?
  • Initializer

    Declaration

    Swift

    public init(latitude: Double? = nil,
                longitude: Double? = nil,
                postalCode: String? = nil,
                city: String? = nil,
                region: String? = nil,
                country: String? = nil)

    Parameters

    latitude

    The user’s latitude

    longitude

    The user’s longitude

    postalCode

    The user’s postal code

    city

    The user’s city

    region

    The user’s region

    country

    The user’s country