pause method
暂停消息流监听
Implementation
bool pause() {
if (!supportPlatform) return false;
if (_streamSubscription != null && !_streamSubscription!.isPaused) {
_streamSubscription!.pause();
return true;
}
return false;
}
暂停消息流监听
bool pause() {
if (!supportPlatform) return false;
if (_streamSubscription != null && !_streamSubscription!.isPaused) {
_streamSubscription!.pause();
return true;
}
return false;
}