public final class CarPlay
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static 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.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
CarPlayErrorDomain() |
static CGSize |
CPButtonMaximumImageSize() |
static long |
CPGridTemplateMaximumItems() |
static CGSize |
CPMaximumListSectionImageSize()
The expected maximum size of an image size for your @c CPListSection.
|
static CGSize |
CPMaximumMessageItemImageSize()
Maximum size of an image or accessory image in a @c CPMessageListItem.
|
static long |
CPMaximumNumberOfGridImages()
The maximum number of images allowed in a @c CPListImageRowItem.
|
static CGSize |
CPNowPlayingButtonMaximumImageSize() |
static java.lang.String |
CPTemplateApplicationDashboardSceneSessionRoleApplication()
A session role which defines a typical interactive application in the CarPlay dashboard
|
static java.lang.String |
CPTemplateApplicationSceneSessionRoleApplication()
A session role which defines a typical interactive application on the car display
|
public static final double CPNavigationAlertMinimumDuration
For non-indefinite alerts, this is the minimum duration the alert will be visible.
public static java.lang.String CPTemplateApplicationSceneSessionRoleApplication()
public static java.lang.String CPTemplateApplicationDashboardSceneSessionRoleApplication()
public static CGSize CPButtonMaximumImageSize()
public static java.lang.String CarPlayErrorDomain()
public static long CPMaximumNumberOfGridImages()
public static CGSize CPMaximumMessageItemImageSize()
public static CGSize CPNowPlayingButtonMaximumImageSize()
public static long CPGridTemplateMaximumItems()
public static CGSize CPMaximumListSectionImageSize()
To properly size your images, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection].