Get/BindUserMuted (Unity)
- Declaration
public static bool GetUserMuted(this CavrnusUser user)
public static IDisposable BindUserMuted(this CavrnusUser user, Action<bool> onMutedChanged)
- Description
Gets or Binds a bool to tell if the given user is currently muted.
Note: Under-the-hood this is actually just calling: user.SpaceConnection.GetBoolPropertyValue(user.ContainerId, "muted");
Since "muted"
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. To mute yourself, try calling SetLocalUserMutedState, and it will update this value for your CavrnusUser.
- Sample
Looking for labels? They can now be found in the details panel on the floating action bar.
Related content
Get/BindUserName (Unity)
Get/BindUserName (Unity)
More like this
BindSpaceUsers (Unity)
BindSpaceUsers (Unity)
More like this
Get/BindUserSpeaking (Unity)
Get/BindUserSpeaking (Unity)
More like this
GetCurrentSpaceUsers (Unity)
GetCurrentSpaceUsers (Unity)
More like this
SetLocalUserMutedState (Unity)
SetLocalUserMutedState (Unity)
More like this
ExitSpace
ExitSpace
More like this