connectDriveEjectButton

fun connectDriveEjectButton(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (drive: Drive) -> Unit): <Error class: unknown class>

Emitted when the eject button is pressed on @drive.

Since

2.18

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: drive the drive where the eject button was pressed