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, |
Phone() |
Methods
Type and modifiers |
Method and Description |
getType() |
|
java.lang.String |
getFormattedNumber() |
java.lang.String |
getInfo() |
java.lang.String |
getCountry() |
java.lang.String |
getPrefix() |
java.lang.String |
getExt() |
java.lang.String |
getNumber() |
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
Constuctors
Phone
Phone(@NonNull PhoneType type, |
Phone
Phone() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getType
@NonNull |
Phone type.
getFormattedNumber
@NonNull |
Full phone number as human readable string.
getInfo
@Nullable |
Some additional info to differentiate multiple phones for single organization.
Optional field, can be null.
getCountry
@Nullable |
Phone country code.
Optional field, can be null.
getPrefix
@Nullable |
Phone prefix.
Optional field, can be null.
getExt
@Nullable |
Phone extension.
Optional field, can be null.
getNumber
@Nullable |
Phone number.
Optional field, can be null.
serialize
@Override |