Click or drag to resize

Session Class

Contains all session info, including users, groups and session level services.
Inheritance Hierarchy

Namespace:  ImmerseSDK.Sessions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public sealed class Session : SingletonBehaviour

The Session type exposes the following members.

Constructors
  NameDescription
Public methodSession
Initializes a new instance of the Session class
Top
Properties
  NameDescription
Public propertyBeacon
Returns the Beacon service
Public propertyStatic memberGroups
Returns Groups class that contains group assignments
Public propertyStatic memberIsInitialized
Returns true when if the session has been initialized
Public propertyModes
Returns the Mode service
Public propertyRoles
Returns Roles service
Public propertyStatic memberUsers
Returns a UserList class that contains all online users and teacher statuses
Top
Events
  NameDescription
Public eventStatic memberOnSessionInitialized
Fired when the session is initialised
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also