Edit

Share via


GeoRecord Constructors

Definition

Overloads

GeoRecord(NdefRecord)

Create a Geo Record from a NDEF record

GeoRecord(ReadOnlySpan<Byte>)

Create a Geo Record from a span of bytes

GeoRecord(Double, Double)

Create a Geo Record from a latitude and a longitude

GeoRecord(NdefRecord)

Create a Geo Record from a NDEF record

public GeoRecord (Iot.Device.Ndef.NdefRecord ndefRecord);
new Iot.Device.Ndef.GeoRecord : Iot.Device.Ndef.NdefRecord -> Iot.Device.Ndef.GeoRecord
Public Sub New (ndefRecord As NdefRecord)

Parameters

ndefRecord
NdefRecord

The NDEF record to create the Geo Record

Applies to

GeoRecord(ReadOnlySpan<Byte>)

Create a Geo Record from a span of bytes

public GeoRecord (ReadOnlySpan<byte> record);
new Iot.Device.Ndef.GeoRecord : ReadOnlySpan<byte> -> Iot.Device.Ndef.GeoRecord
Public Sub New (record As ReadOnlySpan(Of Byte))

Parameters

record
ReadOnlySpan<Byte>

A raw span of byte containing the Geo Record

Applies to

GeoRecord(Double, Double)

Create a Geo Record from a latitude and a longitude

public GeoRecord (double latitude, double longitude);
new Iot.Device.Ndef.GeoRecord : double * double -> Iot.Device.Ndef.GeoRecord
Public Sub New (latitude As Double, longitude As Double)

Parameters

latitude
Double

Latitude

longitude
Double

Longitude

Applies to