/
Get/BindUserSpeaking (Unity)
Get/BindUserSpeaking (Unity)
- 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.
NOTE: Since this value is representing data coming from outside the Properties system it cannot be assigned to, only read.
- Sample
, multiple selections available,
Related content
Get/BindUserMuted (Unity)
Get/BindUserMuted (Unity)
More like this
SetLocalUserMutedState (Unity)
SetLocalUserMutedState (Unity)
More like this
BindSpaceUsers (Unity)
BindSpaceUsers (Unity)
More like this
FetchAudioOutputs (Unreal Engine)
FetchAudioOutputs (Unreal Engine)
More like this
FCavrnusOutputDevice (Unreal Engine)
FCavrnusOutputDevice (Unreal Engine)
More like this
FetchAudioInputs (Unity)
FetchAudioInputs (Unity)
More like this