Edit

Share via


MediaRecord Constructors

Definition

Overloads

MediaRecord(NdefRecord)

Create a Media Record from a NDEF Record

MediaRecord(String, ReadOnlySpan<Byte>)

Create a Media Record from the type and the payload

MediaRecord(NdefRecord)

Create a Media Record from a NDEF Record

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

Parameters

ndefRecord
NdefRecord

A valid NDEF Record

Applies to

MediaRecord(String, ReadOnlySpan<Byte>)

Create a Media Record from the type and the payload

public MediaRecord (string payloadType, ReadOnlySpan<byte> payload);
new Iot.Device.Ndef.MediaRecord : string * ReadOnlySpan<byte> -> Iot.Device.Ndef.MediaRecord
Public Sub New (payloadType As String, payload As ReadOnlySpan(Of Byte))

Parameters

payloadType
String

The payload type

payload
ReadOnlySpan<Byte>

The byte payload

Applies to