init
TypeScriptstatic init(handler?: (((arg0: CPNowPlayingButton) => void)) | null): Promise<CPNowPlayingButton>Swift declarationinit(handler: ((CPNowPlayingButton) -> Void)? = nil)class · iOS 14.0+ · SDK 27.1
@MainActor class CPNowPlayingButtonstatic init(handler?: (((arg0: CPNowPlayingButton) => void)) | null): Promise<CPNowPlayingButton>Swift declarationinit(handler: ((CPNowPlayingButton) -> Void)? = nil)get isEnabled(): Promise<boolean>Swift declarationvar isEnabled: Bool { get set }setIsEnabled(value: boolean): Promise<void>Swift declarationvar isEnabled: Bool { get set }get isSelected(): Promise<boolean>Swift declarationvar isSelected: Bool { get set }setIsSelected(value: boolean): Promise<void>Swift declarationvar isSelected: Bool { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CPNowPlayingButton.init()
inherited init: cannot prove legal (class declares 1 custom initializer)