One Logo Pool Ball
ShazamKit · IOS API REFERENCE

SHMediaLibrary

class · iOS 15.0+ · Deprecated in iOS 18.0 · SDK 27.1

class SHMediaLibrary

Members (2)

get · iOS 15.0+ · Deprecated in iOS 18.0

default

TypeScript
static get default(): SHMediaLibrary
Swift declaration
class var `default`: SHMediaLibrary { get }
method · iOS 15.0+ · Deprecated in iOS 18.0

add

TypeScript
add(mediaItems: Array<SHMediaItem>, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func add(_ mediaItems: [SHMediaItem]) async throws

Skipped declarations

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

SHMediaLibrary.init()

inherited init: clang: 'init' is unavailable

All ShazamKit types →