init
TypeScriptstatic init(image: _UIKit_UIImage, handler?: (((arg0: CPNowPlayingButton) => void)) | null): Promise<CPNowPlayingImageButton>Swift declarationinit(image: UIImage, handler: ((CPNowPlayingButton) -> Void)? = nil)class · iOS 14.0+ · SDK 27.1
@MainActor class CPNowPlayingImageButtonstatic init(image: _UIKit_UIImage, handler?: (((arg0: CPNowPlayingButton) => void)) | null): Promise<CPNowPlayingImageButton>Swift declarationinit(image: UIImage, handler: ((CPNowPlayingButton) -> Void)? = nil)get image(): Promise<(_UIKit_UIImage) | null>Swift declarationvar image: UIImage? { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CPNowPlayingImageButton.init()
inherited init: cannot prove legal (class declares 1 custom initializer)