Class MobilePhone
Package com.here.sdk.search
Class MobilePhone
- java.lang.Object
-
- com.here.sdk.search.MobilePhone
-
public final class MobilePhone extends java.lang.ObjectRepresents data related to specific mobile phone number.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<PlaceCategory>categoriesCategories associated with phone number.java.lang.StringphoneNumberThe phone number.
-
Constructor Summary
Constructors Constructor Description MobilePhone()Creates a new instance.MobilePhone(java.lang.String phoneNumber, java.util.List<PlaceCategory> categories)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
phoneNumber
@NonNull public java.lang.String phoneNumber
The phone number.
-
categories
@NonNull public java.util.List<PlaceCategory> categories
Categories associated with phone number. Note: In case
categoriesare not empty, thenphoneNumbershould be used according to given categories. Otherwise,phoneNumberis meant for general use.
-
-
Constructor Detail
-
MobilePhone
public MobilePhone()
Creates a new instance.
-
MobilePhone
public MobilePhone(@NonNull java.lang.String phoneNumber, @NonNull java.util.List<PlaceCategory> categories)Creates a new instance.
- Parameters:
phoneNumber-The phone number.
categories-Categories associated with phone number. Note: In case
categoriesare not empty, thenphoneNumbershould be used according to given categories. Otherwise,phoneNumberis meant for general use.
-
-