getTotalScore method

FutureOr<int> getTotalScore()

@detail api @author wangjunzheng @brief Get the total score for the user's current performance. You can call this API after startSingScoring:scoringInfoInterval:{@link #ByteRTCSingScoringManager#startSingScoring:scoringInfoInterval} is called. @return - <0:Failed to get the total score. - >=0:The current total score. @order 27

Implementation

FutureOr<int> getTotalScore() async {
  return await nativeCall('getTotalScore', []);
}