Class GeoRecord
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
NdefRecordThe 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
GeoRecord(SpanByte)
Create a Geo Record from a span of bytes
public GeoRecord(SpanByte record)
Parameters
record
SpanByteA raw span of byte containing the Geo Record
Properties
Latitude
The latitude
public double Latitude { get; set; }
Property Value
Longitude
The longitude
public double Longitude { get; set; }
Property Value
Methods
IsGeoRecord(NdefRecord)
Check if it's a valid NDEF Geo Record
public static bool IsGeoRecord(NdefRecord ndefRecord)
Parameters
ndefRecord
NdefRecordA valid NDEF Record