Class LandlinePhone

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

public final class LandlinePhone extends Object

Represents data related to specific landline 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

    • LandlinePhone

      public LandlinePhone()

      Creates a new instance.

    • LandlinePhone

      public LandlinePhone(@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