Class MobilePhone

java.lang.Object
com.here.sdk.search.MobilePhone

public final class MobilePhone extends Object

Represents data related to specific mobile phone number.

  • Field Details

    • phoneNumber

      @NonNull public String phoneNumber

      The phone number.

    • categories

      @NonNull public List<PlaceCategory> categories

      Categories associated with phone number. Note: In case categories are not empty, then phoneNumber should be used according to given categories. Otherwise, phoneNumber is meant for general use.

  • Constructor Details

    • MobilePhone

      public MobilePhone()

      Creates a new instance.

    • MobilePhone

      public MobilePhone(@NonNull String phoneNumber, @NonNull List<PlaceCategory> categories)

      Creates a new instance.

      Parameters:
      phoneNumber -

      The phone number.

      categories -

      Categories associated with phone number. Note: In case categories are not empty, then phoneNumber should be used according to given categories. Otherwise, phoneNumber is meant for general use.

  • Method Details