AI-generated Key Takeaways
-
ConsumerMapReadyCallbackis an abstract class that provides a callback when aConsumerGoogleMapis ready to use. -
It includes a public constructor
ConsumerMapReadyCallback()for creating instances. -
The
onConsumerMapReady()method is called when theConsumerGoogleMapis available and its associatedConsumerMapFragmentorConsumerMapViewis ready, guaranteeing map layout. -
This callback differs from the Maps SDK's
OnMapReadyCallbackby waiting for map layout before being invoked.
Callback to get a handle to
ConsumerGoogleMap.
Public Constructor Summary
Public Method Summary
| abstract void |
onConsumerMapReady(ConsumerGoogleMap
consumerGoogleMap)
Called when the ConsumerGoogleMap is available and its associated
ConsumerMapFragment or
ConsumerMapView is ready to use.
|
Inherited Method Summary
Public Constructors
public ConsumerMapReadyCallback ()
Public Methods
public abstract void onConsumerMapReady (ConsumerGoogleMap consumerGoogleMap)
Called when the ConsumerGoogleMap is available and its associated
ConsumerMapFragment or
ConsumerMapView is ready to use.
This guarantees that the map has undergone layout. This behavior is different from
OnMapReadyCallback in the Maps SDK, which doesn't wait for the map to
undergo layout.
Parameters
| consumerGoogleMap | a non-null
ConsumerGoogleMap associated with the
ConsumerMapFragment or
ConsumerMapView. |
|---|