Class NWTxtRecord

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public final class NWTxtRecord
extends NWObject
implements NSObjectProtocol
  • Constructor Details

    • NWTxtRecord

      public NWTxtRecord​(BytePtr txt_bytes, long txt_len)
      Since:
      Available in iOS 13.0 and later.
    • NWTxtRecord

      public NWTxtRecord()
      Since:
      Available in iOS 13.0 and later.
  • Method Details

    • copy

      public NWTxtRecord copy()
      Overrides:
      copy in class NSObject
      Since:
      Available in iOS 13.0 and later.
    • findKey

      public NWTxtRecordFindKey findKey​(String key)
      Since:
      Available in iOS 13.0 and later.
    • accessKey

      public boolean accessKey​(String key, Block4<BytePtr,​NWTxtRecordFindKey,​BytePtr,​Long,​Boolean> access_value)
      Since:
      Available in iOS 13.0 and later.
    • setKey

      public boolean setKey​(String key, BytePtr value, long value_len)
      Since:
      Available in iOS 13.0 and later.
    • removeKey

      public boolean removeKey​(String key)
      Since:
      Available in iOS 13.0 and later.
    • getKeyCount

      public long getKeyCount()
      Since:
      Available in iOS 13.0 and later.
    • accessBytes

      public boolean accessBytes​(Block2<BytePtr,​Long,​Boolean> access_bytes)
      Since:
      Available in iOS 13.0 and later.
    • apply

      public boolean apply​(Block4<BytePtr,​NWTxtRecordFindKey,​BytePtr,​Long,​Boolean> applier)
      Since:
      Available in iOS 13.0 and later.
    • isEqual

      public boolean isEqual​(NWTxtRecord right)
      Since:
      Available in iOS 13.0 and later.
    • isDictionary

      public boolean isDictionary()
      Since:
      Available in iOS 13.0 and later.