SwiftclassPhotosGraph
MusicCatalogMonitor
class PhotosGraph.MusicCatalogMonitor
Members 8
- func
static canAccessMediaLibrary() -> Bool - func
static checkMusicCatalogEligibility(progressReporter: MAProgressReporter, completionHandler: (Bool, Bool, Error?) -> ()) -> () - func
static checkMusicCatalogEligibility(progressReporter: MAProgressReporter) -> Bool - func
static clearCatalogMusic(from: PhotosGraph.MusicCache, progressReporter: MAProgressReporter) throws -> () - func
static clearCatalogMusicFromCache(photoLibrary: PHPhotoLibrary, progressReporter: MAProgressReporter) throws -> () - deinit
deinit - func
isEligibleToUseMusicCatalog() async throws -> Bool - init
PhotosGraph.MusicCatalogMonitor.__allocating_init() -> PhotosGraph.MusicCatalogMonitor
Header
@objc(PGWrapperMusicCatalogMonitor) class MusicCatalogMonitor: __C.NSObject { init() func isEligibleToUseMusicCatalog() async throws -> Swift.Bool static func checkMusicCatalogEligibility(progressReporter: __C.MAProgressReporter, completionHandler: @escaping (Swift.Bool, Swift.Bool, (any Swift.Error)?) -> ()) static func checkMusicCatalogEligibility(progressReporter: __C.MAProgressReporter) -> Swift.Bool static func clearCatalogMusic(from: PhotosGraph.MusicCache, progressReporter: __C.MAProgressReporter) throws static func clearCatalogMusicFromCache(photoLibrary: __C.PHPhotoLibrary, progressReporter: __C.MAProgressReporter) throws static func canAccessMediaLibrary() -> Swift.Bool deinit }