Instance Method

searchableIndexDidThrottle(_:)

Tells the delegate that indexing is being throttled.

Declaration

optional func searchableIndexDidThrottle(_ searchableIndex: CSSearchableIndex)

Parameters

searchableIndex

The indexing that’s being throttled.

Discussion

In some situations, such as when the device is using battery only, the system may throttle indexing to save power. You can implement this method to be notified of this situation so that you can respond by, for example, prioritizing the items to index.

See Also

Getting Information About Indexing

func searchableIndexDidFinishThrottle(CSSearchableIndex)

Tells the delegate that the index throttling has finished.