One Logo Pool Ball
CarPlay · IOS API REFERENCE

CPPointOfInterest

class · iOS 14.0+ · SDK 27.1

class CPPointOfInterest

Members (28)

get · iOS 16.0+

pinImageSize

TypeScript
static get pinImageSize(): { width: number; height: number }
Swift declaration
class var pinImageSize: CGSize { get }
get · iOS 16.0+

selectedPinImageSize

TypeScript
static get selectedPinImageSize(): { width: number; height: number }
Swift declaration
class var selectedPinImageSize: CGSize { get }
init · iOS 14.0+

init

TypeScript
static initLocationTitleSubtitleSummaryDetailTitleDetailSubtitleDetailSummaryPinImage(location: _MapKit_MKMapItem, title: string, subtitle?: (string) | null, summary?: (string) | null, detailTitle?: (string) | null, detailSubtitle?: (string) | null, detailSummary?: (string) | null, pinImage?: (_UIKit_UIImage) | null): CPPointOfInterest
Swift declaration
convenience init(location: MKMapItem, title: String, subtitle: String?, summary: String?, detailTitle: String?, detailSubtitle: String?, detailSummary: String?, pinImage: UIImage?)
init · iOS 16.0+

init

TypeScript
static initLocationTitleSubtitleSummaryDetailTitleDetailSubtitleDetailSummaryPinImageSelectedPinImage(location: _MapKit_MKMapItem, title: string, subtitle?: (string) | null, summary?: (string) | null, detailTitle?: (string) | null, detailSubtitle?: (string) | null, detailSummary?: (string) | null, pinImage?: (_UIKit_UIImage) | null, selectedPinImage?: (_UIKit_UIImage) | null): CPPointOfInterest
Swift declaration
init(location: MKMapItem, title: String, subtitle: String?, summary: String?, detailTitle: String?, detailSubtitle: String?, detailSummary: String?, pinImage: UIImage?, selectedPinImage: UIImage?)
get · iOS 14.0+

detailSubtitle

TypeScript
get detailSubtitle(): (string) | null
Swift declaration
var detailSubtitle: String? { get set }
set · iOS 14.0+

detailSubtitle

TypeScript
set detailSubtitle(value: (string) | null)
Swift declaration
var detailSubtitle: String? { get set }
get · iOS 14.0+

detailSummary

TypeScript
get detailSummary(): (string) | null
Swift declaration
var detailSummary: String? { get set }
set · iOS 14.0+

detailSummary

TypeScript
set detailSummary(value: (string) | null)
Swift declaration
var detailSummary: String? { get set }
get · iOS 14.0+

detailTitle

TypeScript
get detailTitle(): (string) | null
Swift declaration
var detailTitle: String? { get set }
set · iOS 14.0+

detailTitle

TypeScript
set detailTitle(value: (string) | null)
Swift declaration
var detailTitle: String? { get set }
get · iOS 14.0+

location

TypeScript
get location(): _MapKit_MKMapItem
Swift declaration
var location: MKMapItem { get set }
set · iOS 14.0+

location

TypeScript
set location(value: _MapKit_MKMapItem)
Swift declaration
var location: MKMapItem { get set }
get · iOS 14.0+

pinImage

TypeScript
get pinImage(): (_UIKit_UIImage) | null
Swift declaration
var pinImage: UIImage? { get set }
set · iOS 14.0+

pinImage

TypeScript
set pinImage(value: (_UIKit_UIImage) | null)
Swift declaration
var pinImage: UIImage? { get set }
get · iOS 14.0+

primaryButton

TypeScript
get primaryButton(): (CPTextButton) | null
Swift declaration
var primaryButton: CPTextButton? { get set }
set · iOS 14.0+

primaryButton

TypeScript
set primaryButton(value: (CPTextButton) | null)
Swift declaration
var primaryButton: CPTextButton? { get set }
get · iOS 14.0+

secondaryButton

TypeScript
get secondaryButton(): (CPTextButton) | null
Swift declaration
var secondaryButton: CPTextButton? { get set }
set · iOS 14.0+

secondaryButton

TypeScript
set secondaryButton(value: (CPTextButton) | null)
Swift declaration
var secondaryButton: CPTextButton? { get set }
get · iOS 16.0+

selectedPinImage

TypeScript
get selectedPinImage(): (_UIKit_UIImage) | null
Swift declaration
var selectedPinImage: UIImage? { get set }
set · iOS 16.0+

selectedPinImage

TypeScript
set selectedPinImage(value: (_UIKit_UIImage) | null)
Swift declaration
var selectedPinImage: UIImage? { get set }
get · iOS 14.0+

subtitle

TypeScript
get subtitle(): (string) | null
Swift declaration
var subtitle: String? { get set }
set · iOS 14.0+

subtitle

TypeScript
set subtitle(value: (string) | null)
Swift declaration
var subtitle: String? { get set }
get · iOS 14.0+

summary

TypeScript
get summary(): (string) | null
Swift declaration
var summary: String? { get set }
set · iOS 14.0+

summary

TypeScript
set summary(value: (string) | null)
Swift declaration
var summary: String? { get set }
get · iOS 14.0+

title

TypeScript
get title(): string
Swift declaration
var title: String { get set }
set · iOS 14.0+

title

TypeScript
set title(value: string)
Swift declaration
var title: String { get set }
get · iOS 14.0+

userInfo

TypeScript
get userInfo(): (unknown) | null
Swift declaration
var userInfo: Any? { get set }
set · iOS 14.0+

userInfo

TypeScript
set userInfo(value: (unknown) | null)
Swift declaration
var userInfo: Any? { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CPPointOfInterest.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All CarPlay types →