Home > @magiclane/maps-sdk > ContactInfo
ContactInfo class
Contact info class
A ContactInfo can have multiple values of the same ContactInfoFieldType.
Changes made to this object will not be automatically reflected in associated Landmark. Use the Landmark.contactInfo setter to set the contact info for a landmark.
Signature:
export declare class ContactInfo extends GemAutoreleaseObject Extends: GemAutoreleaseObject
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ContactInfo class.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
number |
Gets the field count. | |
|
|
number | ||
|
|
number | bigint |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Add a new field to the contact info | ||
|
|
Creates a new ContactInfo instance | |
|
Gets the field name/short description. Depends on the language set. Usually used for display in UI | ||
|
Gets the field type. | ||
|
Gets the field value. | ||
|
Removes a field specified by index. The field must already exist. | ||
|
Sets field type, value and name. The field must already exist. |