ZendriveLocationPoint

@interface ZendriveLocationPoint : NSObject

Represents a geographical coordinate.

  • Epoch timestamp of the location point.

    Declaration

    Objective-C

    @property (readonly, nonatomic) long long timestamp;
  • Latitude in degrees

    Declaration

    Objective-C

    @property (readonly, nonatomic) double latitude;
  • Longitude in degrees

    Declaration

    Objective-C

    @property (readonly, nonatomic) double longitude;
  • Initializer for ZendriveLocationPoint

    Declaration

    Objective-C

    - (id)initWithTimestamp:(long long)timestamp
                   latitude:(double)latitude
                  longitude:(double)longitude;

    Parameters

    timestamp

    Epoch timestamp of the location

    latitude

    Latitude in degrees

    longitude

    Longitude in degrees

    Return Value

    ZendriveLocationPoint object

  • Returns a dictionary that represents the ZendriveLocationPoint object.

    Declaration

    Objective-C

    - (NSDictionary *)toDictionary;