Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

AudioTagUtilities.CanHear

public static bool CanHear(User user, string audioTag)

Check if a user can heard an AudioTag

Returns: Returns true if a user can hear the AudioTag

Parameter Description
user User
audioTag Audio tag to check

public static bool CanHear(User user, User otherUser)

Check if a user can hear another user

Returns: Returns true if the user can hear the other user

Parameter Description
user User
otherUser Other user