AWSPinpointEndpointProfileLocation

Objective-C

@interface AWSPinpointEndpointProfileLocation : NSObject <NSSecureCoding>

Swift

class AWSPinpointEndpointProfileLocation : NSObject, NSSecureCoding

The Endpoint profile contains information about the location of the device/user to be target for messaging.

  • The latitude coordinate of the device @returns latitude

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable latitude;

    Swift

    var latitude: NSNumber? { get set }
  • The longitude coordinate of the device @returns longitude

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable longitude;

    Swift

    var longitude: NSNumber? { get set }
  • The postal code location of the device @returns postalCode

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable postalCode;

    Swift

    var postalCode: String? { get set }
  • The city of the location @returns city

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable city;

    Swift

    var city: String? { get set }
  • The region of the location @returns region

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable region;

    Swift

    var region: String? { get set }
  • the country of the location @returns country

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable country;

    Swift

    var country: String? { get set }