Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

- 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.

Note: Under-the-hood this is actually just calling: user.SpaceConnection.GetBoolPropertyValue(user.ContainerId, "speaking");

Since "speaking" is a well-known value assigned by the server, we wrote this function as a helpful convenience.

- Sample

 

 

  • No labels