Class VenueEngine

java.lang.Object
com.here.NativeBase
com.here.sdk.venue.VenueEngine

public final class VenueEngine extends NativeBase

VenueEngine is an add-on to the base map functionality with its own content loading and cache. VenueEngine gives access to the venue functionality, which allows you to load and visualize venues on the map, search content inside venues etc.

  • Constructor Details

  • Method Details

    • start

      public void start(@Nullable AuthenticationCallback callback)

      Authenticates asynchronously using HERE SDK credentials and uses a result token to start the VenueService. An initialization status of the venue service is returned to objects registered as VenueServiceListener. If the authentication will fail, the venue service will not be started.

      Parameters:
      callback -

      The optional callback that will be triggered when the authentication will be completed. If the authentication fails, the venue service will not be started.

    • start

      public void start(@NonNull String token)

      Authenticates asynchronously using HERE SDK credentials using a token to start the VenueService. An initialization status of the venue service is returned to objects registered as VenueServiceListener. If the authentication will fail, the venue service will not be started.

      Parameters:
      token -

      SDK project scope token to be used for authentication

    • destroy

      public void destroy()

      Releases all internally used resources. The instance can't be used anymore after calling this method.

    • getVenueService

      @NonNull public VenueService getVenueService()

      Gets the venue service. This service can be used to load the venue model objects.

      Gets the VenueService. This service can be used to load the VenueModel objects.

      Returns:

      The venue service.

    • getVenueMap

      @NonNull public VenueMap getVenueMap()

      Gets a venue map to visualize venues.

      Gets a venue map to visualize venues and control the state of the venues on the map. You need to start the VenueService to be able to load venues.

      Returns:

      The venue map.