addVenueAsyncWithErrors abstract method

void addVenueAsyncWithErrors(
  1. int venueId,
  2. VenueLoadErrorCallback callback
)

Downloads and adds a Venue to the VenueMap.

Method will do nothing if the venue already exists on the venue map.

  • venueId The ID of the venue to download and add.

  • callback Callback to receives the error while venue load on the main thread.

Implementation

void addVenueAsyncWithErrors(int venueId, VenueLoadErrorCallback callback);