![]() |
AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
|
Keeps track of the users in the current session. Instance is created by Sharing Stage when a connection is found. More...
Public Member Functions | |
| SessionUsersTracker (ServerSessionsTracker sessionsTracker) | |
| User | GetUserById (int userId) |
| Finds and returns an object representing a user who has the supplied id number. Returns null if the user is not found. More... | |
| void | Dispose () |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Properties | |
| List< User > | CurrentUsers [get] |
| List of users that are in the current session. More... | |
Events | |
| Action< User > | UserJoined |
| UserJoined event notifies when a user joins the current session. More... | |
| Action< User > | UserLeft |
| UserLeft event notifies when a user leaves the current session. More... | |
Keeps track of the users in the current session. Instance is created by Sharing Stage when a connection is found.
Definition at line 14 of file SessionUsersTracker.cs.
| HoloToolkit.Sharing.SessionUsersTracker.SessionUsersTracker | ( | ServerSessionsTracker | sessionsTracker | ) |
Definition at line 36 of file SessionUsersTracker.cs.
| void HoloToolkit.Sharing.SessionUsersTracker.Dispose | ( | ) |
Definition at line 68 of file SessionUsersTracker.cs.
|
protectedvirtual |
Definition at line 74 of file SessionUsersTracker.cs.
| User HoloToolkit.Sharing.SessionUsersTracker.GetUserById | ( | int | userId | ) |
Finds and returns an object representing a user who has the supplied id number. Returns null if the user is not found.
| userId | The numerical id of the session User to find |
Definition at line 53 of file SessionUsersTracker.cs.
|
get |
List of users that are in the current session.
Definition at line 34 of file SessionUsersTracker.cs.
| Action<User> HoloToolkit.Sharing.SessionUsersTracker.UserJoined |
UserJoined event notifies when a user joins the current session.
Definition at line 19 of file SessionUsersTracker.cs.
| Action<User> HoloToolkit.Sharing.SessionUsersTracker.UserLeft |
UserLeft event notifies when a user leaves the current session.
Definition at line 24 of file SessionUsersTracker.cs.