Contents

setTXTRecord(_:)

Sets the TXT record for the receiver, and returns a Boolean value that indicates whether the operation was successful.

Declaration

func setTXTRecord(_ recordData: Data?) -> Bool

Parameters

  • recordData:

    The TXT record for the receiver.

Return Value

true if recordData is successfully set as the TXT record, otherwise false.

See Also

Configuring Network Services