getSoundLevelStream method

Stream<double> getSoundLevelStream(
  1. String userID
)

get sound level notifier

Implementation

Stream<double> getSoundLevelStream(String userID) {
  return ZegoUIKitCore.shared.coreData
          .getUser(userID)
          .mainChannel
          .soundLevel
          ?.stream ??
      const Stream.empty();
}