init
TypeScriptstatic init(identifier: string): MPContentItemSwift declarationinit(identifier: String)class · iOS 7.1+ · SDK 27.1
class MPContentItemstatic init(identifier: string): MPContentItemSwift declarationinit(identifier: String)get artwork(): (MPMediaItemArtwork) | nullSwift declarationvar artwork: MPMediaItemArtwork? { get set }set artwork(value: (MPMediaItemArtwork) | null)Swift declarationvar artwork: MPMediaItemArtwork? { get set }get isContainer(): booleanSwift declarationvar isContainer: Bool { get set }set isContainer(value: boolean)Swift declarationvar isContainer: Bool { get set }get isExplicitContent(): booleanSwift declarationvar isExplicitContent: Bool { get set }set isExplicitContent(value: boolean)Swift declarationvar isExplicitContent: Bool { get set }get identifier(): stringSwift declarationvar identifier: String { get }get isPlayable(): booleanSwift declarationvar isPlayable: Bool { get set }set isPlayable(value: boolean)Swift declarationvar isPlayable: Bool { get set }get playbackProgress(): numberSwift declarationvar playbackProgress: Float { get set }set playbackProgress(value: number)Swift declarationvar playbackProgress: Float { get set }get isStreamingContent(): booleanSwift declarationvar isStreamingContent: Bool { get set }set isStreamingContent(value: boolean)Swift declarationvar isStreamingContent: Bool { get set }get subtitle(): (string) | nullSwift declarationvar subtitle: String? { get set }set subtitle(value: (string) | null)Swift declarationvar subtitle: String? { get set }get title(): (string) | nullSwift declarationvar title: String? { get set }set title(value: (string) | null)Swift declarationvar title: String? { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPContentItem.init()
inherited init: cannot prove legal (class declares 1 custom initializer)