Class CarPlay


  • public final class CarPlay
    extends java.lang.Object
    • Field Detail

      • CPNavigationAlertMinimumDuration

        public static final double CPNavigationAlertMinimumDuration
        Your @c CPNavigationAlert may specify a duration for which the alert will be visible onscreen, or 0 for an alert that is visible indefinitely. For non-indefinite alerts, this is the minimum duration the alert will be visible.
        See Also:
        Constant Field Values
    • Method Detail

      • CPTemplateApplicationSceneSessionRoleApplication

        public static java.lang.String CPTemplateApplicationSceneSessionRoleApplication()
        A session role which defines a typical interactive application on the car display
      • CPTemplateApplicationDashboardSceneSessionRoleApplication

        public static java.lang.String CPTemplateApplicationDashboardSceneSessionRoleApplication()
        A session role which defines a typical interactive application in the CarPlay dashboard
      • CPButtonMaximumImageSize

        public static CGSize CPButtonMaximumImageSize()
      • CarPlayErrorDomain

        public static java.lang.String CarPlayErrorDomain()
      • CPMaximumNumberOfGridImages

        public static long CPMaximumNumberOfGridImages()
        The maximum number of images allowed in a @c CPListImageRowItem. The system may display fewer than this number of images, depending on the available width of the car screen.
      • CPMaximumMessageItemImageSize

        public static CGSize CPMaximumMessageItemImageSize()
        Maximum size of an image or accessory image in a @c CPMessageListItem.
      • CPNowPlayingButtonMaximumImageSize

        public static CGSize CPNowPlayingButtonMaximumImageSize()