Package apple.carplay.protocol
Interface CPSelectableListItem
-
- All Superinterfaces:
CPListTemplateItem
- All Known Implementing Classes:
CPListImageRowItem,CPListItem
public interface CPSelectableListItem extends CPListTemplateItem
[@c] CPListSelectable describes list items that accept a list item handler, called when the user selects this list item. API-Since: 14.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCPSelectableListItem.Block_handler_retstatic interfaceCPSelectableListItem.Block_setHandler
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable CPSelectableListItem.Block_handler_rethandler()An optional action block, fired when the user selects this item in a list template.voidsetHandler(@Nullable CPSelectableListItem.Block_setHandler value)An optional action block, fired when the user selects this item in a list template.-
Methods inherited from interface apple.carplay.protocol.CPListTemplateItem
isEnabled, setEnabled, setUserInfo, text, userInfo
-
-
-
-
Method Detail
-
handler
@Nullable @Nullable CPSelectableListItem.Block_handler_ret handler()
An optional action block, fired when the user selects this item in a list template. You must call the completion block after processing the user's selection.
-
setHandler
void setHandler(@Nullable @Nullable CPSelectableListItem.Block_setHandler value)An optional action block, fired when the user selects this item in a list template. You must call the completion block after processing the user's selection.
-
-