handler

An optional closure that CarPlay invokes when the user selects the list item.

Declaration

var handler: ((any CPSelectableListItem, @escaping () -> Void) -> Void)? { get set }