Intents · IOS API REFERENCE
INMediaItem
class · iOS 12.0+ · SDK 27.1
class INMediaItem
Members (7)
init · iOS 12.0+init
TypeScriptstatic initIdentifierTitleTypeArtwork(identifier: (string) | null, title: (string) | null, type: INMediaItemType, artwork?: (INImage) | null): INMediaItem
Swift declarationconvenience init(identifier: String?, title: String?, type: INMediaItemType, artwork: INImage?)
init · iOS 13.0+init
TypeScriptstatic initIdentifierTitleTypeArtworkArtist(identifier: (string) | null, title: (string) | null, type: INMediaItemType, artwork?: (INImage) | null, artist?: (string) | null): INMediaItem
Swift declarationinit(identifier: String?, title: String?, type: INMediaItemType, artwork: INImage?, artist: String?)
get · iOS 13.0+artist
TypeScriptget artist(): (string) | null
Swift declarationvar artist: String? { get }
get · iOS 12.0+artwork
TypeScriptget artwork(): (INImage) | null
Swift declaration@NSCopying var artwork: INImage? { get }
get · iOS 12.0+identifier
TypeScriptget identifier(): (string) | null
Swift declarationvar identifier: String? { get }
get · iOS 12.0+title
TypeScriptget title(): (string) | null
Swift declarationvar title: String? { get }
get · iOS 12.0+type
TypeScriptget type(): INMediaItemType
Swift declarationvar 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 →