One Logo Pool Ball
Intents · IOS API REFERENCE

INMediaItem

class · iOS 12.0+ · SDK 27.1

class INMediaItem

Members (7)

init · iOS 12.0+

init

TypeScript
static initIdentifierTitleTypeArtwork(identifier: (string) | null, title: (string) | null, type: INMediaItemType, artwork?: (INImage) | null): INMediaItem
Swift declaration
convenience init(identifier: String?, title: String?, type: INMediaItemType, artwork: INImage?)
init · iOS 13.0+

init

TypeScript
static initIdentifierTitleTypeArtworkArtist(identifier: (string) | null, title: (string) | null, type: INMediaItemType, artwork?: (INImage) | null, artist?: (string) | null): INMediaItem
Swift declaration
init(identifier: String?, title: String?, type: INMediaItemType, artwork: INImage?, artist: String?)
get · iOS 13.0+

artist

TypeScript
get artist(): (string) | null
Swift declaration
var artist: String? { get }
get · iOS 12.0+

artwork

TypeScript
get artwork(): (INImage) | null
Swift declaration
@NSCopying var artwork: INImage? { get }
get · iOS 12.0+

identifier

TypeScript
get identifier(): (string) | null
Swift declaration
var identifier: String? { get }
get · iOS 12.0+

title

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

type

TypeScript
get type(): INMediaItemType
Swift declaration
var type: INMediaItemType { get }

Skipped declarations

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

INMediaItem.init()

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

All Intents types →