TxtRecord

class TxtRecord : Parcelable


Represents a single TXT record.

TXT record keys are normalized to lowercase ASCII equivalents, so case should be ignored when inspecting these records for a given key.

Summary

Public functions

java-static TxtRecord!
create(key: String!, value: String!)

Creates a TxtRecord from the given key and value.

Boolean
equals(o: Any?)
Int
String!
Unit
writeToParcel(dest: Parcel!, flags: Int)

Public properties

String!
String!

Inherited functions

From android.os.Parcelable

Public functions

create

java-static fun create(key: String!, value: String!): TxtRecord!

Creates a TxtRecord from the given key and value.

Throws
java.lang.IllegalArgumentException

if key is empty

java.lang.NullPointerException

if key or value are null

equals

fun equals(o: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String!

writeToParcel

fun writeToParcel(dest: Parcel!, flags: Int): Unit

Public properties

key

val keyString!

value

val valueString!