- Declaration
public static bool GetUserSpeaking(this CavrnusUser user)
public static IDisposable BindUserSpeaking(this CavrnusUser user, Action<bool> onSpeakingChanged)
- Description
Gets or Binds a bool to tell if the given user is currently speaking. “Speaking” is defined as having a volume slightly above 0, so note that coughing or very heavy breathing may also cause this to trip.
...
Since "speaking"
is a well-known value assigned by the server, we wrote this function as a helpful convenience.
NOTE: Since this value is representing data coming from outside the Properties system it cannot be assigned to, only read.
- Sample
Code Block |
---|