Table of Contents

Class GeoRecord

Namespace
Iot.Device.Ndef
Assembly
Iot.Device.Ndef.dll

Geo Record geo:latitude,longitude where both latitude and longitude are double with . for decimal point

public class GeoRecord : UriRecord
Inheritance
GeoRecord
Inherited Members

Constructors

GeoRecord(NdefRecord)

Create a Geo Record from a NDEF record

public GeoRecord(NdefRecord ndefRecord)

Parameters

ndefRecord NdefRecord

The NDEF record to create the Geo Record

GeoRecord(double, double)

Create a Geo Record from a latitude and a longitude

public GeoRecord(double latitude, double longitude)

Parameters

latitude double

Latitude

longitude double

Longitude

GeoRecord(SpanByte)

Create a Geo Record from a span of bytes

public GeoRecord(SpanByte record)

Parameters

record SpanByte

A raw span of byte containing the Geo Record

Properties

Latitude

The latitude

public double Latitude { get; set; }

Property Value

double

Longitude

The longitude

public double Longitude { get; set; }

Property Value

double

Methods

IsGeoRecord(NdefRecord)

Check if it's a valid NDEF Geo Record

public static bool IsGeoRecord(NdefRecord ndefRecord)

Parameters

ndefRecord NdefRecord

A valid NDEF Record

Returns

bool