-
public class StreetViewJavaHelperA helper object to call the suspend function
fetchStreetViewDatafrom Java.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceStreetViewJavaHelper.StreetViewCallbackA callback interface to receive the result of the Street View data fetch.
-
Field Summary
Fields Modifier and Type Field Description public final static StreetViewJavaHelperINSTANCE
-
Method Summary
Modifier and Type Method Description final static UnitfetchStreetViewData(LatLng latLng, String apiKey, StreetViewJavaHelper.StreetViewCallback callback)Fetches Street View data for the given location and returns the result via a callback. -
-
Method Detail
-
fetchStreetViewData
final static Unit fetchStreetViewData(LatLng latLng, String apiKey, StreetViewJavaHelper.StreetViewCallback callback)
Fetches Street View data for the given location and returns the result via a callback.
- Parameters:
latLng- The location to fetch Street View data for.apiKey- The API key to use for the request.callback- The callback to receive the result.
-
-
-
-