PanModeDelegate


@CarProtocol
@RequiresCarApi(value = 2)
public interface PanModeDelegate


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

Summary

Public methods

abstract void
sendPanModeChanged(boolean isInPanMode, @NonNull OnDoneCallback callback)

Notifies that the user has entered or exited pan mode.

Public methods

sendPanModeChanged

Added in 1.1.0
abstract void sendPanModeChanged(boolean isInPanMode, @NonNull OnDoneCallback callback)

Notifies that the user has entered or exited pan mode.

Parameters
boolean isInPanMode

the latest pan mode state.

@NonNull OnDoneCallback callback

the OnDoneCallback to trigger when the client finishes handling the event