Rollup.shared.indexing.state, or follow it with Rollup.shared.indexing.states.
Cases
case
configure has not been called.case
The person has not granted Photos access, or revoked it.
case
The first-run models and geography are downloading.
fraction runs from 0 to 1.case
Indexing is running:
indexed of total photos planned for this run. searchable is true once the index holds finished slices, so search, query and profile already work on them.case
The index holds
photos photos and was last updated at updatedAt.case
The last run failed with a
RollupError. With accessRevoked, your app’s access stopped and the index is locked. With appPendingApproval, your app is waiting for Rollup’s approval.Properties
Bool
true when search, query and profile have an index to read: always for ready, and for indexing when searchable is true.
