GeoRecord Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Geo Record geo:latitude,longitude where both latitude and longitude are double with . for decimal point
public class GeoRecord : Iot.Device.Ndef.UriRecord
type GeoRecord = class
inherit UriRecord
Public Class GeoRecord
Inherits UriRecord
- Inheritance
Constructors
GeoRecord(Double, Double) |
Create a Geo Record from a latitude and a longitude |
GeoRecord(NdefRecord) |
Create a Geo Record from a NDEF record |
GeoRecord(ReadOnlySpan<Byte>) |
Create a Geo Record from a span of bytes |
Properties
FullUri |
The full Uri (Inherited from UriRecord) |
Header |
The record header (Inherited from NdefRecord) |
Latitude |
The latitude |
Length |
The length of the NDEF Record (Inherited from NdefRecord) |
Longitude |
The longitude |
Payload |
The record payload (Inherited from NdefRecord) |
Uri |
Uri to encode (Inherited from UriRecord) |
UriType |
Uri Type (Inherited from UriRecord) |
Methods
IsGeoRecord(NdefRecord) |
Check if it's a valid NDEF Geo Record |
Serialize(Span<Byte>) |
Serialize the NDEF Record (Inherited from NdefRecord) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for