Package apple.carplay.protocol
Interface CPListTemplateDelegate
-
public interface CPListTemplateDelegate
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCPListTemplateDelegate.Block_listTemplateDidSelectListItemCompletionHandler
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlistTemplateDidSelectListItemCompletionHandler(CPListTemplate listTemplate, CPListItem item, CPListTemplateDelegate.Block_listTemplateDidSelectListItemCompletionHandler completionHandler)The user has selected an item in the list template.
-
-
-
Method Detail
-
listTemplateDidSelectListItemCompletionHandler
void listTemplateDidSelectListItemCompletionHandler(CPListTemplate listTemplate, CPListItem item, CPListTemplateDelegate.Block_listTemplateDidSelectListItemCompletionHandler completionHandler)
The user has selected an item in the list template. Your app has an opportunity to perform any necessary operations to prepare for completing this item selection. The list template will display a spinner after a short delay. You must call the completion block after your app has finished loading and updated its UI.- Parameters:
listTemplate- The list template containing this itemitem- The item selected by the usercompletionHandler- A completion block you must call after you have updated your UI.
-
-