Contents

wellKnownTypeTextPayload(string:locale:)

Creates a payload record with text.

Declaration

class func wellKnownTypeTextPayload(string text: String, locale: Locale) -> Self?

Parameters

  • text:

    Text to include in the payload.

  • locale:

    A locale object. This method saves the IANA language code, specified by the locale, to the payload.

Return Value

An NDEF payload record.

See Also

Creating a Payload Record