One Logo Pool Ball
CarPlay · IOS API REFERENCE

CPNowPlayingSportsClock

class · iOS 18.4+ · SDK 27.1

@MainActor class CPNowPlayingSportsClock

Members (5)

init · iOS 18.4+

init

TypeScript
static initElapsedTimePaused(elapsedTime: number, paused: boolean): Promise<CPNowPlayingSportsClock>
Swift declaration
init(elapsedTime: TimeInterval, paused: Bool)
init · iOS 18.4+

init

TypeScript
static initTimeRemainingPaused(timeRemaining: number, paused: boolean): Promise<CPNowPlayingSportsClock>
Swift declaration
init(timeRemaining: TimeInterval, paused: Bool)
get · iOS 18.4+

countsUp

TypeScript
get countsUp(): Promise<boolean>
Swift declaration
var countsUp: Bool { get }
get · iOS 18.4+

isPaused

TypeScript
get isPaused(): Promise<boolean>
Swift declaration
var isPaused: Bool { get }
get · iOS 18.4+

timeValue

TypeScript
get timeValue(): Promise<number>
Swift declaration
var timeValue: TimeInterval { get }

Skipped declarations

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

CPNowPlayingSportsClock.init()

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

All CarPlay types →