SwiftclassPhotosGraph

class PhotosGraph.MusicCatalogMonitor

Members 8

  1. funcstatic canAccessMediaLibrary() -> Bool
  2. funcstatic checkMusicCatalogEligibility(progressReporter: MAProgressReporter, completionHandler: (Bool, Bool, Error?) -> ()) -> ()
  3. funcstatic checkMusicCatalogEligibility(progressReporter: MAProgressReporter) -> Bool
  4. funcstatic clearCatalogMusic(from: PhotosGraph.MusicCache, progressReporter: MAProgressReporter) throws -> ()
  5. funcstatic clearCatalogMusicFromCache(photoLibrary: PHPhotoLibrary, progressReporter: MAProgressReporter) throws -> ()
  6. deinitdeinit
  7. funcisEligibleToUseMusicCatalog() async throws -> Bool
  8. initPhotosGraph.MusicCatalogMonitor.__allocating_init() -> PhotosGraph.MusicCatalogMonitor
@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
}