OnClickDelegate


@CarProtocol
interface OnClickDelegate


A host-side interface for reporting click to clients.

Summary

Public functions

Boolean

Indicates if the click listener is for parked-only scenarios.

Unit

Notifies that a click happened.

Public functions

isParkedOnly

Added in 1.0.0
fun isParkedOnly(): Boolean

Indicates if the click listener is for parked-only scenarios.

sendClick

Added in 1.0.0
fun sendClick(callback: OnDoneCallback): Unit

Notifies that a click happened.

Parameters
callback: OnDoneCallback

the OnDoneCallback to trigger when the client finishes handling the event