PlaceLoadListener

public interface PlaceLoadListener


A listener with callbacks that are invoked when a place is loaded or fails to load on Place Details widget.

Summary

Public methods

abstract void

Invoked when the place failed to load due to an exception.

abstract void

Invoked when the place was successfully loaded.

Public methods

onFailure

abstract void onFailure(@NonNull Exception e)

Invoked when the place failed to load due to an exception.

onSuccess

abstract void onSuccess(@NonNull Place place)

Invoked when the place was successfully loaded.

Parameters
@NonNull Place place

the Place that was loaded with only the ID, location and viewport fields set.