PanModeDelegate


@CarProtocol
@RequiresCarApi(value = 2)
interface PanModeDelegate


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

Summary

Public functions

Unit
sendPanModeChanged(isInPanMode: Boolean, callback: OnDoneCallback)

Notifies that the user has entered or exited pan mode.

Public functions

sendPanModeChanged

Added in 1.1.0
fun sendPanModeChanged(isInPanMode: Boolean, callback: OnDoneCallback): Unit

Notifies that the user has entered or exited pan mode.

Parameters
isInPanMode: Boolean

the latest pan mode state.

callback: OnDoneCallback

the OnDoneCallback to trigger when the client finishes handling the event