OnClickDelegate

@CarProtocol
public interface OnClickDelegate


A host-side interface for reporting click to clients.

Summary

Public methods

abstract boolean

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

abstract void

Notifies that a click happened.

Public methods

isParkedOnly

Added in 1.0.0
abstract boolean isParkedOnly()

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

sendClick

Added in 1.0.0
abstract void sendClick(@NonNull OnDoneCallback callback)

Notifies that a click happened.

Parameters
@NonNull OnDoneCallback callback

the OnDoneCallback to trigger when the client finishes handling the event