AlertCallbackDelegate
@CarProtocol
@RequiresCarApi(value = 5)
interface AlertCallbackDelegate
A host-side interface for reporting cancel events to clients.
Summary
Public functions |
|
|---|---|
Unit |
sendCancel(reason: Int, callback: OnDoneCallback)Notifies that a cancel event happened with given |
Unit |
sendDismiss(callback: OnDoneCallback)Notifies that a dismiss event happened. |
Public functions
sendCancel
Added in 1.2.0
fun sendCancel(reason: Int, callback: OnDoneCallback): Unit
Notifies that a cancel event happened with given reason.
| Parameters | |
|---|---|
reason: Int |
the |
callback: OnDoneCallback |
the |
sendDismiss
Added in 1.2.0
fun sendDismiss(callback: OnDoneCallback): Unit
Notifies that a dismiss event happened.
| Parameters | |
|---|---|
callback: OnDoneCallback |
the |