onSnapshotResume
Attaches a listener for QuerySnapshot events based on data generated by invoking
QuerySnapshot.toJSON You may either pass individual onNext and onError callbacks or
pass a single observer object with next and error callbacks. The listener can be cancelled by
calling the function that is returned when onSnapshot is called.
NOTE: Although an onCompletion callback can be provided, it will never be called because the
snapshot stream is never-ending.
Attaches a listener for QuerySnapshot events based on data generated by invoking
QuerySnapshot.toJSON You may either pass individual onNext and onError callbacks or
pass a single observer object with next and error callbacks. The listener can be cancelled by
calling the function that is returned when onSnapshot is called.
NOTE: Although an onCompletion callback can be provided, it will never be called because the
snapshot stream is never-ending.
§Parameters
- A JSON object generated by invoking QuerySnapshot.toJSON.
- A callback to be called every time a new
QuerySnapshotis available.
- A callback to be called if the listen fails or is cancelled. No further callbacks will occur.
- Can be provided, but will not be called since streams are never ending.
- An optional object that converts objects from Firestore before the onNext listener is invoked.
Attaches a listener for DocumentSnapshot events based on data generated by invoking
DocumentSnapshot.toJSON. You may either pass individual onNext and onError callbacks or
pass a single observer object with next and error callbacks. The listener can be cancelled by
calling the function that is returned when onSnapshot is called.
NOTE: Although an onCompletion callback can be provided, it will never be called because the
snapshot stream is never-ending.
§Parameters
- A JSON object generated by invoking DocumentSnapshot.toJSON.
- A callback to be called every time a new
DocumentSnapshotis available.
- A callback to be called if the listen fails or is cancelled. No further callbacks will occur.
- Can be provided, but will not be called since streams are never ending.
- An optional object that converts objects from Firestore before the onNext listener is invoked.
Attaches a listener for QuerySnapshot events based on data generated by invoking
QuerySnapshot.toJSON. You may either pass individual onNext and onError callbacks or
pass a single observer object with next and error callbacks. The listener can be cancelled by
calling the function that is returned when onSnapshot is called.
NOTE: Although an onCompletion callback can be provided, it will never be called because the
snapshot stream is never-ending.
§Parameters
- A JSON object generated by invoking QuerySnapshot.toJSON.
- Options controlling the listen behavior.
- A callback to be called every time a new
QuerySnapshotis available.
- A callback to be called if the listen fails or is cancelled. No further callbacks will occur.
- Can be provided, but will not be called since streams are never ending.
- An optional object that converts objects from Firestore before the onNext listener is invoked.
Attaches a listener for DocumentSnapshot events based on data generated by invoking
DocumentSnapshot.toJSON. You may either pass individual onNext and onError callbacks
or pass a single observer object with next and error callbacks. The listener can be cancelled
by calling the function that is returned when onSnapshot is called.
NOTE: Although an onCompletion callback can be provided, it will never be called because the
snapshot stream is never-ending.
§Parameters
- A JSON object generated by invoking DocumentSnapshot.toJSON.
- Options controlling the listen behavior.
- A callback to be called every time a new
DocumentSnapshotis available.
- A callback to be called if the listen fails or is cancelled. No further callbacks will occur.
- Can be provided, but will not be called since streams are never ending.
- An optional object that converts objects from Firestore before the onNext listener is invoked.
Attaches a listener for QuerySnapshot events based on QuerySnapshot data generated by invoking
QuerySnapshot.toJSON. You may either pass individual onNext and onError callbacks or
pass a single observer object with next and error callbacks. The listener can be cancelled by
calling the function that is returned when onSnapshot is called.
NOTE: Although an onCompletion callback can be provided, it will never be called because the
snapshot stream is never-ending.
§Parameters
- A JSON object generated by invoking QuerySnapshot.toJSON.
- A single object containing
nextanderrorcallbacks.
- An optional object that converts objects from Firestore before the onNext listener is invoked.
Attaches a listener for DocumentSnapshot events based on data generated by invoking
DocumentSnapshot.toJSON You may either pass individual onNext and onError callbacks
or pass a single observer object with next and error callbacks. The listener can be cancelled
by calling the function that is returned when onSnapshot is called.
NOTE: Although an onCompletion callback can be provided, it will never be called because the
snapshot stream is never-ending.
§Parameters
- A JSON object generated by invoking DocumentSnapshot.toJSON.
- A single object containing
nextanderrorcallbacks.
- An optional object that converts objects from Firestore before the onNext listener is invoked.
Attaches a listener for QuerySnapshot events based on QuerySnapshot data generated by invoking
QuerySnapshot.toJSON You may either pass individual onNext and onError callbacks or
pass a single observer object with next and error callbacks. The listener can be cancelled by
calling the function that is returned when onSnapshot is called.
NOTE: Although an onCompletion callback can be provided, it will never be called because the
snapshot stream is never-ending.
§Parameters
- A JSON object generated by invoking QuerySnapshot.toJSON.
- Options controlling the listen behavior.
- A single object containing
nextanderrorcallbacks.
- An optional object that converts objects from Firestore before the onNext listener is invoked.
Attaches a listener for DocumentSnapshot events based on QuerySnapshot data generated by
invoking DocumentSnapshot.toJSON You may either pass individual onNext and onError
callbacks or pass a single observer object with next and error callbacks. The listener can be
cancelled by calling the function that is returned when onSnapshot is called.
NOTE: Although an onCompletion callback can be provided, it will never be called because the
snapshot stream is never-ending.
§Parameters
- A JSON object generated by invoking DocumentSnapshot.toJSON.
- Options controlling the listen behavior.
- A single object containing
nextanderrorcallbacks.
- An optional object that converts objects from Firestore before the onNext listener is invoked.