PanModeDelegate

public interface PanModeDelegate

androidx.car.app.navigation.model.PanModeDelegate


A host-side delegate for sending PanModeListener events to the car app.

Summary

Public methods

abstract void sendPanModeChanged(boolean isInPanMode, OnDoneCallback callback)

Notifies that the user has entered or exited pan mode.

Public methods

sendPanModeChanged

public abstract void sendPanModeChanged (boolean isInPanMode, 
                OnDoneCallback callback)

Notifies that the user has entered or exited pan mode.

Parameters
isInPanMode boolean: the updated checked state

callback OnDoneCallback: the OnDoneCallback to trigger when the client finishes handling the event