public interface ConsumerComposeController

Note: This is an experimental feature. For details about integrating with Jetpack Compose, reach out to your representative.

Controls ridesharing features for Consumer Compose.

Public Method Summary

abstract void
Cleans up ConsumerComposeController instance.
abstract void
Initializes ConsumerComposeController.

Public Methods

public abstract void cleanUp ()

Cleans up ConsumerComposeController instance. To prevent memory leaks, this method should be called when this instance is no longer in use or when view model updates are not needed

public abstract void initialize ()

Initializes ConsumerComposeController. This method must be called in order to receive view model updates. View model updates can be stopped by calling cleanUp.