onPause method
inherited
Callback for pausing probe
Implementation
void onPause() {
// Not all underlying streams seems to comply to the pause event.
// For example, the location and activity probe
// TODO - implement support for pause/resume in the StreamProbe
if (subscription != null) subscription.pause();
}