Info

public struct Info

Encapsulates information associated with a metadata query monitor event.

  • An array of items added to the query result. By default, this array contains NSMetadataItem objects, representing the query’s results; however, the query’s delegate can substitute these objects with instances of a different class.

    Declaration

    Swift

    public let addedItems: [Any]
  • An array of items that have changed in the query result. By default, this array contains NSMetadataItem objects, representing the query’s results; however, the query’s delegate can substitute these objects with instances of a different class.

    Declaration

    Swift

    public let changedItems: [Any]
  • The metadata query that generated these results.

    Declaration

    Swift

    public let query: NSMetadataQuery
  • An array of items removed from the query result. By default, this array contains NSMetadataItem objects, representing the query’s results; however, the query’s delegate can substitute these objects with instances of a different class.

    Declaration

    Swift

    public let removedItems: [Any]