Crate objc2_car_play

Crate objc2_car_play 

Source
Expand description

§Bindings to the CarPlay framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

CPActionSheetTemplateCPActionSheetTemplate and CPTemplate
CPActionSheetTemplaterepresents an action sheet that must be dismissed with a button press before the user may return to using the app.
CPAlertActionCPAlertAction
CPAlertActionrepresents a single action that appears inside of a CPActionSheetTemplateor CPAlertTemplate. The style of the parent template and the style of the CPAlertActionwill together determine the action’s appearance.
CPAlertActionStyleCPAlertAction
Apple’s documentation
CPAlertTemplateCPAlertTemplate and CPTemplate
CPAlertTemplaterepresents a modal alert that must be dismissed with a button press before the user may return to using the app.
CPAssistantCellActionTypeCPListTemplate
Apple’s documentation
CPAssistantCellConfigurationCPListTemplate
CPAssistantCellConfigurationencapsulates the configuration options for your assistant cell.
CPAssistantCellPositionCPListTemplate
Apple’s documentation
CPAssistantCellVisibilityCPListTemplate
Apple’s documentation
CPBarButtonCPBarButton
A button for placement in a navigation bar.
CPBarButtonStyleCPBarButton
Specifies the style used to display a CPBarButton.
CPBarButtonTypeCPBarButton
Specifies the type of a CPBarButton.
CPButtonCPButton
Apple’s documentation
CPContactCPContact
Apple’s documentation
CPContactCallButtonCPButton and CPContact
Apple’s documentation
CPContactDirectionsButtonCPButton and CPContact
Apple’s documentation
CPContactMessageButtonCPButton and CPContact
Apple’s documentation
CPContactTemplateCPContactTemplate and CPTemplate
Apple’s documentation
CPContentStyleCPSessionConfiguration
Apple’s documentation
CPDashboardButtonCPDashboardButton
Apple’s documentation
CPDashboardControllerCPDashboardController
Apple’s documentation
CPGridButtonCPGridButton
Apple’s documentation
CPGridTemplateCPGridTemplate and CPTemplate
Apple’s documentation
CPImageSetCPImageSet
Apple’s documentation
CPInformationItemCPInformationItem
Apple’s documentation
CPInformationRatingItemCPInformationItem and CPInformationRatingItem
Apple’s documentation
CPInformationTemplateCPInformationTemplate and CPTemplate
Apple’s documentation
CPInformationTemplateLayoutCPInformationTemplate
Apple’s documentation
CPInstrumentClusterControllerCPInstrumentClusterController
Apple’s documentation
CPInstrumentClusterSettingCPInstrumentClusterController
Apple’s documentation
CPInterfaceControllerCPInterfaceController
Apple’s documentation
CPJunctionTypeCPManeuver
Apple’s documentation
CPLaneCPLane
CPLanerepresents information about a single lane.
CPLaneGuidanceCPLaneGuidance
CPLaneGuidancerepresents guidance to give the user which lane or lanes are preferred.
CPLaneStatusCPLane
Apple’s documentation
CPLimitableUserInterfaceCPSessionConfiguration
Apple’s documentation
CPListImageRowItemCPListImageRowItem
Apple’s documentation
CPListImageRowItemCardElementCPListImageRowItemCardElement and CPListImageRowItemElement
Apple’s documentation
CPListImageRowItemCondensedElementCPListImageRowItemCondensedElement and CPListImageRowItemElement
Apple’s documentation
CPListImageRowItemCondensedElementShapeCPListImageRowItemCondensedElement
Types of shape used to draw a condensed row element.
CPListImageRowItemElementCPListImageRowItemElement
Abstract superclass for a a row item element object.
CPListImageRowItemGridElementCPListImageRowItemElement and CPListImageRowItemGridElement
Apple’s documentation
CPListImageRowItemImageGridElementCPListImageRowItemElement and CPListImageRowItemImageGridElement
Apple’s documentation
CPListImageRowItemImageGridElementShapeCPListImageRowItemImageGridElement
Types of shape used to draw a list item.
CPListImageRowItemRowElementCPListImageRowItemElement and CPListImageRowItemRowElement
Apple’s documentation
CPListItemCPListItem
CPListItemdescribes a single object appearing in a list template. Each CPListItemis displayed as a single cell in the list.
CPListItemAccessoryTypeCPListItem
Apple’s documentation
CPListItemPlayingIndicatorLocationCPListItem
Apple’s documentation
CPListSectionCPListSection
CPListSectionmodels a single section of items appearing in a CPListTemplate.
CPListTemplateCPListTemplate and CPTemplate
Apple’s documentation
CPManeuverCPManeuver
CPManeuverdescribes a navigation instruction.
CPManeuverDisplayStyleCPMapTemplate
Apple’s documentation
CPManeuverStateCPManeuver
Apple’s documentation
CPManeuverTypeCPManeuver
Apple’s documentation
CPMapButtonCPMapButton
Apple’s documentation
CPMapTemplateCPMapTemplate and CPTemplate
Apple’s documentation
CPMessageComposeBarButtonCPBarButton and CPMessageComposeBarButton
Apple’s documentation
CPMessageGridItemConfigurationCPGridButton
CPMessageGridItemConfigurationencapsulates the message configuration options for the grid item.
CPMessageLeadingItemCPMessageListItem
Types of glyphs that may appear in the leading region of a message cell.
CPMessageListItemCPMessageListItem
CPMessageListItemis a special variant of a list item for use in a CPListTemplate.Unlike CPListItem,your application will not receive a callback when the user selects a CPMessageListItemin your list template. Instead, Siri will be invoked using the parameters you specify in your message item and the user will continue a message compose, read, or reply flow through Siri.
CPMessageListItemLeadingConfigurationCPMessageListItem
CPMessageListItemLeadingConfigurationencapsulates the configuration options for the leading side of your message list cell.
CPMessageListItemTrailingConfigurationCPMessageListItem
CPMessageListItemTrailingConfigurationencapsulates the configuration options for the trailing side of your message list cell.
CPMessageTrailingItemCPMessageListItem
Types of glyphs that may appear in the trailing region of a message cell.
CPNavigationAlertCPNavigationAlert
CPNavigationAlertis a banner alert that can display map or navigation-related information to the user.
CPNavigationAlertDismissalContextCPNavigationAlert
Reasons why your navigation alert was dismissed.
CPNavigationSessionCPNavigationSession
CPNavigationSessionrepresents the active navigation session. A CPNavigationSessionwill be created for you when calling startNavigationSessionForTrip: on CYMapTemplate
CPNowPlayingAddToLibraryButtonCPNowPlayingButton
A now playing button that can be used to allow the user to add the current playing item to a collection, like their library.
CPNowPlayingButtonCPNowPlayingButton
Apple’s documentation
CPNowPlayingImageButtonCPNowPlayingButton
A now playing button that shows a custom image provided by your app for any other custom actions on the now playing screen.
CPNowPlayingModeCPNowPlayingMode
Apple’s documentation
CPNowPlayingModeSportsCPNowPlayingMode
The sports mode represents a layout for now playing suited to live-streaming or recorded playback of a sporting event that features exactly two teams.
CPNowPlayingMoreButtonCPNowPlayingButton
A now playing button that shows a callout-style action. For example, your app could present a CPActionSheetTemplateto show more actions when the user taps this button.
CPNowPlayingPlaybackRateButtonCPNowPlayingButton
A now playing button that shows the current playback rate and allows the user to cycle between different playback rates provided by your app.
CPNowPlayingRepeatButtonCPNowPlayingButton
A now playing button that shows the current repeat state, like “once” or “all”.
CPNowPlayingShuffleButtonCPNowPlayingButton
A now playing button that indicates the current shuffle mode for your app.
CPNowPlayingSportsClockCPNowPlayingMode
A representation of the amount of time elapsed so far in this event, for events where the clock counts UP.
CPNowPlayingSportsEventStatusCPNowPlayingMode
A representation of the status of a sporting event.
CPNowPlayingSportsTeamCPNowPlayingMode
A representation of a sports team for the now playing screen, in sports that have exactly two teams.
CPNowPlayingSportsTeamLogoCPNowPlayingMode
A logo image or, if no image is available, an abbreviation or initialism for this team.
CPNowPlayingTemplateCPNowPlayingTemplate and CPTemplate
Apple’s documentation
CPPanDirectionCPMapTemplate
Apple’s documentation
CPPointOfInterestCPPointOfInterest
Apple’s documentation
CPPointOfInterestTemplateCPPointOfInterestTemplate and CPTemplate
Apple’s documentation
CPRouteChoiceCPTrip
CPRouteChoicedescribes a possible route for a CPTrip.
CPRouteInformationCPRouteInformation
CPRouteInformation describes information pertaining to a route that is necessary for rerouting.
CPSearchTemplateCPSearchTemplate and CPTemplate
Apple’s documentation
CPSessionConfigurationCPSessionConfiguration
Apple’s documentation
CPTabBarTemplateCPTabBarTemplate and CPTemplate
Apple’s documentation
CPTemplateCPTemplate
Abstract superclass for a template object.
CPTemplateApplicationDashboardSceneCPTemplateApplicationDashboardScene and objc2-ui-kit
Apple’s documentation
CPTemplateApplicationInstrumentClusterSceneCPTemplateApplicationInstrumentClusterScene and objc2-ui-kit
Apple’s documentation
CPTemplateApplicationSceneCPTemplateApplicationScene and objc2-ui-kit
Apple’s documentation
CPTextButtonCPTextButton
Apple’s documentation
CPTextButtonStyleCPTextButton
Apple’s documentation
CPTimeRemainingColorCPMapTemplate
Apple’s documentation
CPTrafficSideCPManeuver
Apple’s documentation
CPTravelEstimatesCPTravelEstimates
CPTravelEstimatesdescribes the time and distance remaining for the active navigation session.
CPTripCPTrip
CPTriprepresents an origin and destination with route choices.
CPTripEstimateStyleCPMapTemplate
Apple’s documentation
CPTripPauseReasonCPNavigationSession
Apple’s documentation
CPTripPreviewTextConfigurationCPTripPreviewTextConfiguration
Apple’s documentation
CPVoiceControlStateCPVoiceControlTemplate
CPVoiceControlStateencapsulates the title variants and image(s) for a single voice control state, like listening, loading, or recognized.
CPVoiceControlTemplateCPTemplate and CPVoiceControlTemplate
Apple’s documentation
CPWindowCPWindow and objc2-ui-kit
CPWindowis the main window for content presented on the car screen.

Statics§

CPButtonMaximumImageSizeCPButton and objc2-core-foundation
Apple’s documentation
CPGridTemplateMaximumItemsCPGridTemplate
Apple’s documentation
CPMaximumListSectionImageSizeCPListSection and objc2-core-foundation
The expected maximum size of an image size for your CPListSection.To properly size your images, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection].
CPMaximumMessageItemImageSizeCPMessageListItem and objc2-core-foundation
Maximum size of an image or accessory image in a CPMessageListItem.
CPMaximumMessageItemLeadingDetailTextImageSizeCPMessageListItem and objc2-core-foundation
Maximum size of an image for the detailed text leading image.
CPMaximumNumberOfGridImagesCPListImageRowItem
The maximum number of images allowed in a CPListImageRowItem.The system may display fewer than this number of images, depending on the available width of the car screen.
CPNavigationAlertMinimumDurationCPNavigationAlert
Your CPNavigationAlertmay specify a duration for which the alert will be visible onscreen, or 0 for an alert that is visible indefinitely.
CPNowPlayingButtonMaximumImageSizeCPNowPlayingButton and objc2-core-foundation
Apple’s documentation
CPTemplateApplicationDashboardSceneSessionRoleApplicationCPTemplateApplicationDashboardScene and objc2-ui-kit
Apple’s documentation
CPTemplateApplicationInstrumentClusterSceneSessionRoleApplicationCPTemplateApplicationInstrumentClusterScene and objc2-ui-kit
Apple’s documentation
CPTemplateApplicationSceneSessionRoleApplicationCPTemplateApplicationScene and objc2-ui-kit
Apple’s documentation
CarPlayErrorDomainCPInterfaceController
Apple’s documentation

Traits§

CPApplicationDelegateDeprecatedCPInterfaceController and objc2-ui-kit
A set of methods that are called by the UIApplicationsingleton in response to CarPlay lifecycle events.
CPBarButtonProvidingCPBarButtonProviding
Apple’s documentation
CPInstrumentClusterControllerDelegateCPInstrumentClusterController
Apple’s documentation
CPInterfaceControllerDelegateCPInterfaceController
CPInterfaceControllerDelegate allows your app to observe template visibility lifecycles for the templates presented by your app.
CPListTemplateDelegateDeprecatedCPListTemplate
Apple’s documentation
CPListTemplateItemCPListItemTypes
CPListTemplateItemdescribes common properties of list items that can be displayed in a CPListTemplate.
CPMapTemplateDelegateCPMapTemplate
Apple’s documentation
CPNowPlayingTemplateObserverCPNowPlayingTemplate
Apple’s documentation
CPPointOfInterestTemplateDelegateCPPointOfInterestTemplate
Apple’s documentation
CPSearchTemplateDelegateCPSearchTemplate
Apple’s documentation
CPSelectableListItemCPListItemTypes
CPListSelectabledescribes list items that accept a list item handler, called when the user selects this list item.
CPSessionConfigurationDelegateCPSessionConfiguration
Apple’s documentation
CPTabBarTemplateDelegateCPTabBarTemplate
Apple’s documentation
CPTemplateApplicationDashboardSceneDelegateCPTemplateApplicationDashboardScene and objc2-ui-kit
Apple’s documentation
CPTemplateApplicationInstrumentClusterSceneDelegateCPTemplateApplicationInstrumentClusterScene and objc2-ui-kit
Apple’s documentation
CPTemplateApplicationSceneDelegateCPTemplateApplicationScene and objc2-ui-kit
Apple’s documentation

Type Aliases§

CPAlertActionHandlerCPAlertAction and block2
Apple’s documentation
CPBarButtonHandlerCPBarButton and block2
Apple’s documentation