Class UriRecord
Create a Uri Record class
public class UriRecord : NdefRecord
- Inheritance
-
UriRecord
- Derived
- Inherited Members
Constructors
UriRecord(NdefRecord)
Create a URI Record from a valid NDEF Record
public UriRecord(NdefRecord ndefRecord)
Parameters
ndefRecord
NdefRecordA valid NDEF Record
UriRecord(UriType, string)
Create a Uri Record from a Uri Type and a Uri
public UriRecord(UriType uriType, string uri)
Parameters
UriRecord(SpanByte)
Create a Uri Record from a span of bytes
public UriRecord(SpanByte record)
Parameters
record
SpanByteRecord as a span of byte
Properties
FullUri
The full Uri
public string FullUri { get; }
Property Value
Uri
Uri to encode
public string Uri { get; set; }
Property Value
Remarks
The Uri should be URL encoded to be valid in most cases. Consider encoding it.
UriType
Uri Type
public UriType UriType { get; set; }
Property Value
Methods
IsUriRecord(NdefRecord)
True if this is a valid URI Record
public static bool IsUriRecord(NdefRecord ndefRecord)
Parameters
ndefRecord
NdefRecordA valid NDEF Record