HERE Android SDK Developer's Guide

SpatialObject

The class SpatialObject is a member of com.here.android.mpa.venues3d .

Class Summary

public class SpatialObject

extends java.lang.Object

This class represents a physical space on a map.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in SpatialObject
Constructors

SpatialObject (SpatialObjectImpl impl)

Package Private Constructor

Method Summary

Table 2. Methods in SpatialObject
Methods

public boolean equals (Object o)

public String getId ()

This method retrieves a string which uniquely identifies the given instance of SpatialObject .

public int hashCode ()

Class Details

This class represents a physical space on a map. This space is defined by a unique identifier.

Constructor Details

SpatialObject (SpatialObjectImpl impl)

Package Private Constructor

Parameters:

  • impl

Method Details

public boolean equals (Object o)

Parameters:

  • o

public String getId ()

This method retrieves a string which uniquely identifies the given instance of SpatialObject . The string can be used to specify the space for example, when calling the method selectAsync(String, String). .

Returns:

A string containing the unique identifier of the object.

public int hashCode ()