One Logo Pool Ball
CarPlay · IOS API REFERENCE

CPMapButton

class · iOS 12.0+ · SDK 27.1

@MainActor class CPMapButton

Members (9)

init · iOS 12.0+

init

TypeScript
static init(handler?: (((arg0: CPMapButton) => void)) | null): Promise<CPMapButton>
Swift declaration
init(handler: ((CPMapButton) -> Void)? = nil)
get · iOS 12.0+

isEnabled

TypeScript
get isEnabled(): Promise<boolean>
Swift declaration
var isEnabled: Bool { get set }
set · iOS 12.0+

isEnabled

TypeScript
setIsEnabled(value: boolean): Promise<void>
Swift declaration
var isEnabled: Bool { get set }
get · iOS 12.0+

focusedImage

TypeScript
get focusedImage(): Promise<(_UIKit_UIImage) | null>
Swift declaration
var focusedImage: UIImage? { get set }
set · iOS 12.0+

focusedImage

TypeScript
setFocusedImage(value?: (_UIKit_UIImage) | null): Promise<void>
Swift declaration
var focusedImage: UIImage? { get set }
get · iOS 12.0+

isHidden

TypeScript
get isHidden(): Promise<boolean>
Swift declaration
var isHidden: Bool { get set }
set · iOS 12.0+

isHidden

TypeScript
setIsHidden(value: boolean): Promise<void>
Swift declaration
var isHidden: Bool { get set }
get · iOS 12.0+

image

TypeScript
get image(): Promise<(_UIKit_UIImage) | null>
Swift declaration
var image: UIImage? { get set }
set · iOS 12.0+

image

TypeScript
setImage(value?: (_UIKit_UIImage) | null): Promise<void>
Swift declaration
var image: UIImage? { get set }

Skipped declarations

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

CPMapButton.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All CarPlay types →