Warning

This feature is available in the Full MapKit SDK version

Package world.mappable.mapkit.search

Class Phone

java.lang.Object
    ↳ world.mappable.mapkit.search.Phone

class Phone implements Serializable

Organization phone.

Summary

Constructors

Signature and Description

Phone(@NonNull PhoneType type,
      @NonNull java.lang.String formattedNumber,
      @Nullable java.lang.String info,
      @Nullable java.lang.String country,
      @Nullable java.lang.String prefix,
      @Nullable java.lang.String ext,
      @Nullable java.lang.String number)

Phone()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

PhoneType

getType()
Phone type.

java.lang.String

getFormattedNumber()
Full phone number as human readable string.

java.lang.String

getInfo()
Some additional info to differentiate multiple phones for single organization.

java.lang.String

getCountry()
Phone country code.

java.lang.String

getPrefix()
Phone prefix.

java.lang.String

getExt()
Phone extension.

java.lang.String

getNumber()
Phone number.

void

serialize(world.mappable.runtime.bindings.Archive archive)

Constuctors

Phone

Phone(@NonNull PhoneType type,
      @NonNull java.lang.String formattedNumber,
      @Nullable java.lang.String info,
      @Nullable java.lang.String country,
      @Nullable java.lang.String prefix,
      @Nullable java.lang.String ext,
      @Nullable java.lang.String number)


Phone

Phone()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getType

@NonNull
PhoneType getType()

Phone type.


getFormattedNumber

@NonNull
java.lang.String getFormattedNumber()

Full phone number as human readable string.


getInfo

@Nullable
java.lang.String getInfo()

Some additional info to differentiate multiple phones for single organization.

Optional field, can be null.


getCountry

@Nullable
java.lang.String getCountry()

Phone country code.

Optional field, can be null.


getPrefix

@Nullable
java.lang.String getPrefix()

Phone prefix.

Optional field, can be null.


getExt

@Nullable
java.lang.String getExt()

Phone extension.

Optional field, can be null.


getNumber

@Nullable
java.lang.String getNumber()

Phone number.

Optional field, can be null.


serialize

@Override
void serialize(world.mappable.runtime.bindings.Archive archive)