51Degrees Device Detection C/C++  4.4

A device detection library that is used natively or by 51Degrees products


Detailed Description

A coordinate representation of a location.


Type and Getter method for a coordinate item.

Obtaining the latitude and longitude of a coordinate item in the strings collection can be done by using the API fiftyoneDegreesIpiGetCoordinate

Collaboration diagram for Coodinate:


struct  fiftyoneDegreesCoordinate
Singular coordinate, representing a location. More...


fiftyoneDegreesCoordinate  fiftyoneDegreesIpiGetCoordinate (fiftyoneDegreesCollectionItem *item, fiftyoneDegreesException *exception)
Get the 51Degrees Coordinate from the strings collection item. More...

Function Documentation

◆ fiftyoneDegreesIpiGetCoordinate()

fiftyoneDegreesCoordinate fiftyoneDegreesIpiGetCoordinate ( fiftyoneDegreesCollectionItem *   item,
fiftyoneDegreesException *   exception  

Get the 51Degrees Coordinate from the strings collection item.

This should be used on the item whose property type is FIFTYONE_DEGREES_PROPERTY_VALUE_TYPE_COORDINATE.

item - the collection item pointing to the coordinate item in strings collection
exception - pointer to an exception data structure to be used if an exception occurs. See exceptions.h
the coordinate value
On This Page