setTeamID abstract method
- String teamID
Set team ID.
Available: since 2.11.0
Description: After setting the team ID, you will be able to communicate with other users of the same team, and the sound will not change with the distance. It is also possible to exit the team by setting an empty string.
Use case: Users join the team or exit the team.
Default value: When this function is not called, no team will be added by default.
When to call: After initializing the range audio createRangeAudio
.
Caution: There will be no distance limit for the sounds in the team, and there will be no 3D sound effects.
teamID
Team ID, empty to exit the team, a string of up to 64 bytes in length. Support numbers, English characters and '~', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '_', '+', '=', '-', '`', ';', '’', ',', '.', '<', '>', ''.
Implementation
Future<void> setTeamID(String teamID);