ContactInfo

Contact into interface. It specifies the structure of the information, used to contact a person ex. phone number, email, home page), as a list of TContactInfoFieldType "fields".

Constructors

Link copied to clipboard
constructor()
constructor(address: Long)
constructor(address: Long, isRef: Boolean)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

Fields count.

Functions

Link copied to clipboard
fun addField(type: EContactInfoFieldType, value: String, name: String)

Adds a new field.

Link copied to clipboard
external fun assign(value: ContactInfo)

Assigns new value to this instance.

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard
external fun getFieldName(index: Int): String?

Gets the field name/short description.

Link copied to clipboard

Gets the field type.

Link copied to clipboard
external fun getFieldValue(index: Int): String?

Gets the field value.

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if:

Link copied to clipboard
external fun removeField(index: Int)

Removes a field specified by index.

Link copied to clipboard
fun setField(index: Int, type: EContactInfoFieldType, value: String, name: String)

Sets field type, value and name.