\r\n

51Degrees Device Detection C/C++  4.4

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

Coodinate

Detailed Description

A coordinate representation of a location.

Introduction

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:

Structs

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

Functions

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.

Parameters
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
Returns
the coordinate value
On This Page