CarPlay · IOS API REFERENCE
CPNowPlayingSportsTeam
class · iOS 18.4+ · SDK 27.1
@MainActor class CPNowPlayingSportsTeam
Members (7)
init · iOS 18.4+init
TypeScriptstatic init(name: string, logo: CPNowPlayingSportsTeamLogo, teamStandings: (string) | null, eventScore: string, possessionIndicator: (_UIKit_UIImage) | null, favorite: boolean): Promise<CPNowPlayingSportsTeam>
Swift declarationinit(name: String, logo: CPNowPlayingSportsTeamLogo, teamStandings: String?, eventScore: String, possessionIndicator: UIImage?, favorite: Bool)
get · iOS 18.4+eventScore
TypeScriptget eventScore(): Promise<string>
Swift declarationvar eventScore: String { get }
get · iOS 18.4+isFavorite
TypeScriptget isFavorite(): Promise<boolean>
Swift declarationvar isFavorite: Bool { get }
get · iOS 18.4+logo
TypeScriptget logo(): Promise<CPNowPlayingSportsTeamLogo>
Swift declaration@NSCopying var logo: CPNowPlayingSportsTeamLogo { get }
get · iOS 18.4+name
TypeScriptget name(): Promise<string>
Swift declarationvar name: String { get }
get · iOS 18.4+possessionIndicator
TypeScriptget possessionIndicator(): Promise<(_UIKit_UIImage) | null>
Swift declaration@NSCopying var possessionIndicator: UIImage? { get }
get · iOS 18.4+teamStandings
TypeScriptget teamStandings(): Promise<(string) | null>
Swift declarationvar teamStandings: String? { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CPNowPlayingSportsTeam.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All CarPlay types →