Interface AVPlayerItemMetadataCollectorPushDelegate


  • public interface AVPlayerItemMetadataCollectorPushDelegate
    • Method Detail

      • metadataCollectorDidCollectDateRangeMetadataGroupsIndexesOfNewGroupsIndexesOfModifiedGroups

        void metadataCollectorDidCollectDateRangeMetadataGroupsIndexesOfNewGroupsIndexesOfModifiedGroups​(AVPlayerItemMetadataCollector metadataCollector,
                                                                                                         NSArray<? extends AVDateRangeMetadataGroup> metadataGroups,
                                                                                                         NSIndexSet indexesOfNewGroups,
                                                                                                         NSIndexSet indexesOfModifiedGroups)
        metadataCollector:didCollectDateRangeMetadataGroups:indexesOfNewGroup:indexesOfModifiedGroups: A delegate callback that delivers the total set of AVDateRangeMetadataGroups for this collector. This method will be invoked whenever new AVDateRangeMetadataGroups are added to metadataGroups or whenever any AVDateRangeMetadataGroups in metadataGroups have been modified since previous invocations. The initial invocation will have indexesOfNewGroup referring to every index in metadataGroups. Subsequent invocations may not contain all previously collected metadata groups if they no longer refer to a region in the AVPlayerItem's seekableTimeRanges.
        Parameters:
        metadataCollector - The AVPlayerItemMetadataCollector source.
        metadataGroups - The set of all metadata groups meeting the criteria of the output.
        indexesOfNewGroups - Indexes of metadataGroups added since the last delegate invocation of this method.
        indexesOfModifiedGroups - Indexes of metadataGroups modified since the last delegate invocation of this method.