maximumImageSize
TypeScriptstatic get maximumImageSize(): Promise<{ width: number; height: number }>Swift declarationclass var maximumImageSize: CGSize { get }class · iOS 12.0+ · SDK 27.1
@MainActor class CPListItemstatic get maximumImageSize(): Promise<{ width: number; height: number }>Swift declarationclass var maximumImageSize: CGSize { get }static initTextDetailText(text?: (string) | null, detailText?: (string) | null): Promise<CPListItem>Swift declarationinit(text: String?, detailText: String?)static initTextDetailTextImage(text?: (string) | null, detailText?: (string) | null, image?: (_UIKit_UIImage) | null): Promise<CPListItem>Swift declarationinit(text: String?, detailText: String?, image: UIImage?)static initTextDetailTextImageAccessoryImageAccessoryType(text: (string) | null, detailText: (string) | null, image: (_UIKit_UIImage) | null, accessoryImage: (_UIKit_UIImage) | null, accessoryType: CPListItemAccessoryType): Promise<CPListItem>Swift declarationinit(text: String?, detailText: String?, image: UIImage?, accessoryImage: UIImage?, accessoryType: CPListItemAccessoryType)static initTextDetailTextImageShowsDisclosureIndicator(text: (string) | null, detailText: (string) | null, image: (_UIKit_UIImage) | null, showsDisclosureIndicator: boolean): Promise<CPListItem>Swift declarationinit(text: String?, detailText: String?, image: UIImage?, showsDisclosureIndicator: Bool)setAccessoryImage(accessoryImage?: (_UIKit_UIImage) | null): Promise<void>Swift declarationfunc setAccessoryImage(_ accessoryImage: UIImage?)setDetailText(detailText?: (string) | null): Promise<void>Swift declarationfunc setDetailText(_ detailText: String?)setImage(image?: (_UIKit_UIImage) | null): Promise<void>Swift declarationfunc setImage(_ image: UIImage?)setText(text: string): Promise<void>Swift declarationfunc setText(_ text: String)get accessoryImage(): Promise<(_UIKit_UIImage) | null>Swift declarationvar accessoryImage: UIImage? { get }get accessoryType(): Promise<CPListItemAccessoryType>Swift declarationvar accessoryType: CPListItemAccessoryType { get set }setAccessoryType(value: CPListItemAccessoryType): Promise<void>Swift declarationvar accessoryType: CPListItemAccessoryType { get set }get detailText(): Promise<(string) | null>Swift declarationvar detailText: String? { get }get isEnabled(): Promise<boolean>Swift declarationvar isEnabled: Bool { get set }setIsEnabled(value: boolean): Promise<void>Swift declarationvar isEnabled: Bool { get set }get isExplicitContent(): Promise<boolean>Swift declarationvar isExplicitContent: Bool { get set }setIsExplicitContent(value: boolean): Promise<void>Swift declarationvar isExplicitContent: Bool { get set }get handler(): Promise<(((arg0: SDKHandle, arg1: (() => void)) => Promise<void>)) | null>Swift declarationvar handler: ((any CPSelectableListItem, @escaping () -> Void) -> Void)? { get set }get image(): Promise<(_UIKit_UIImage) | null>Swift declarationvar image: UIImage? { get }get playbackProgress(): Promise<number>Swift declarationvar playbackProgress: CGFloat { get set }setPlaybackProgress(value: number): Promise<void>Swift declarationvar playbackProgress: CGFloat { get set }get isPlaying(): Promise<boolean>Swift declarationvar isPlaying: Bool { get set }setIsPlaying(value: boolean): Promise<void>Swift declarationvar isPlaying: Bool { get set }get playingIndicatorLocation(): Promise<CPListItemPlayingIndicatorLocation>Swift declarationvar playingIndicatorLocation: CPListItemPlayingIndicatorLocation { get set }setPlayingIndicatorLocation(value: CPListItemPlayingIndicatorLocation): Promise<void>Swift declarationvar playingIndicatorLocation: CPListItemPlayingIndicatorLocation { get set }get showsDisclosureIndicator(): Promise<boolean>Swift declarationvar showsDisclosureIndicator: Bool { get }get showsExplicitLabel(): Promise<boolean>Swift declarationvar showsExplicitLabel: Bool { get set }setShowsExplicitLabel(value: boolean): Promise<void>Swift declarationvar showsExplicitLabel: Bool { get set }get text(): Promise<(string) | null>Swift declarationvar text: String? { get }get userInfo(): Promise<(unknown) | null>Swift declarationvar userInfo: Any? { get set }setUserInfo(value?: (unknown) | null): Promise<void>Swift declarationvar userInfo: Any? { get set }2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CPListItem.handler
The iOS SDK compiler rejected this binding: converting non-escaping value to 'T' may allow it to escape
CPListItem.init()
inherited init: cannot prove legal (class declares 4 custom initializers)