One Logo Pool Ball
MediaPlayer · IOS API REFERENCE

MPContentItem

class · iOS 7.1+ · SDK 27.1

class MPContentItem

Members (18)

init · iOS 7.1+

init

TypeScript
static init(identifier: string): MPContentItem
Swift declaration
init(identifier: String)
get · iOS 7.1+

artwork

TypeScript
get artwork(): (MPMediaItemArtwork) | null
Swift declaration
var artwork: MPMediaItemArtwork? { get set }
set · iOS 7.1+

artwork

TypeScript
set artwork(value: (MPMediaItemArtwork) | null)
Swift declaration
var artwork: MPMediaItemArtwork? { get set }
get · iOS 7.1+

isContainer

TypeScript
get isContainer(): boolean
Swift declaration
var isContainer: Bool { get set }
set · iOS 7.1+

isContainer

TypeScript
set isContainer(value: boolean)
Swift declaration
var isContainer: Bool { get set }
get · iOS 10.0+

isExplicitContent

TypeScript
get isExplicitContent(): boolean
Swift declaration
var isExplicitContent: Bool { get set }
set · iOS 10.0+

isExplicitContent

TypeScript
set isExplicitContent(value: boolean)
Swift declaration
var isExplicitContent: Bool { get set }
get · iOS 7.1+

identifier

TypeScript
get identifier(): string
Swift declaration
var identifier: String { get }
get · iOS 7.1+

isPlayable

TypeScript
get isPlayable(): boolean
Swift declaration
var isPlayable: Bool { get set }
set · iOS 7.1+

isPlayable

TypeScript
set isPlayable(value: boolean)
Swift declaration
var isPlayable: Bool { get set }
get · iOS 7.1+

playbackProgress

TypeScript
get playbackProgress(): number
Swift declaration
var playbackProgress: Float { get set }
set · iOS 7.1+

playbackProgress

TypeScript
set playbackProgress(value: number)
Swift declaration
var playbackProgress: Float { get set }
get · iOS 10.0+

isStreamingContent

TypeScript
get isStreamingContent(): boolean
Swift declaration
var isStreamingContent: Bool { get set }
set · iOS 10.0+

isStreamingContent

TypeScript
set isStreamingContent(value: boolean)
Swift declaration
var isStreamingContent: Bool { get set }
get · iOS 7.1+

subtitle

TypeScript
get subtitle(): (string) | null
Swift declaration
var subtitle: String? { get set }
set · iOS 7.1+

subtitle

TypeScript
set subtitle(value: (string) | null)
Swift declaration
var subtitle: String? { get set }
get · iOS 7.1+

title

TypeScript
get title(): (string) | null
Swift declaration
var title: String? { get set }
set · iOS 7.1+

title

TypeScript
set title(value: (string) | null)
Swift declaration
var title: String? { get set }

Skipped declarations

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)

All MediaPlayer types →