wellKnowTypeTextPayload
TypeScriptstatic wellKnowTypeTextPayload(text: string, locale: _Foundation_Locale): (NFCNDEFPayload) | nullSwift declarationclass func wellKnowTypeTextPayload(string text: String, locale: Locale) -> Self?class · iOS 11.0+ · SDK 27.1
class NFCNDEFPayloadstatic wellKnowTypeTextPayload(text: string, locale: _Foundation_Locale): (NFCNDEFPayload) | nullSwift declarationclass func wellKnowTypeTextPayload(string text: String, locale: Locale) -> Self?static wellKnownTypeTextPayloadStringLocale(text: string, locale: _Foundation_Locale): (NFCNDEFPayload) | nullSwift declarationclass func wellKnownTypeTextPayload(string text: String, locale: Locale) -> Self?static wellKnownTypeURIPayloadString(uri: string): (NFCNDEFPayload) | nullSwift declarationclass func wellKnownTypeURIPayload(string uri: String) -> Self?static wellKnownTypeURIPayloadUrl(url: string): (NFCNDEFPayload) | nullSwift declarationclass func wellKnownTypeURIPayload(url: URL) -> Self?static initFormatTypeIdentifierPayload(format: NFCTypeNameFormat, type: ArrayBuffer, identifier: ArrayBuffer, payload: ArrayBuffer): NFCNDEFPayloadSwift declarationinit(format: NFCTypeNameFormat, type: Data, identifier: Data, payload: Data)static initFormatTypeIdentifierPayloadChunkSize(format: NFCTypeNameFormat, type: ArrayBuffer, identifier: ArrayBuffer, payload: ArrayBuffer, chunkSize: number): NFCNDEFPayloadSwift declarationinit(format: NFCTypeNameFormat, type: Data, identifier: Data, payload: Data, chunkSize: Int)wellKnownTypeURIPayload(): (string) | nullSwift declarationfunc wellKnownTypeURIPayload() -> URL?get identifier(): ArrayBufferSwift declarationvar identifier: Data { get set }set identifier(value: ArrayBuffer)Swift declarationvar identifier: Data { get set }get payload(): ArrayBufferSwift declarationvar payload: Data { get set }set payload(value: ArrayBuffer)Swift declarationvar payload: Data { get set }get type(): ArrayBufferSwift declarationvar type: Data { get set }set type(value: ArrayBuffer)Swift declarationvar type: Data { get set }get typeNameFormat(): NFCTypeNameFormatSwift declarationvar typeNameFormat: NFCTypeNameFormat { get set }set typeNameFormat(value: NFCTypeNameFormat)Swift declarationvar typeNameFormat: NFCTypeNameFormat { get set }wellKnownTypeTextPayload(): [(string) | null, (_Foundation_Locale) | null]Swift declarationfunc wellKnownTypeTextPayload() -> (String?, Locale?)String object base on a valid Well Known Type Text payload. nil if payload is not a text. Locale object that is constructed from the IANA language code stored with the text payload, nil if payload is not a text.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NFCNDEFPayload.init()
inherited init: cannot prove legal (class declares 2 custom initializers)