GenvidSessionManager¶
New in version 1.12.0.
header: | Genvid/Public/GenvidSessionManager.h |
---|---|
implementation: | Genvid/Private/GenvidSessionManager.cpp |
-
class
UGenvidSessionManager
¶ This is the base class that allows you to manage a
UGenvidSession
. The developer has the responsability to create and destroy the session manager.Deprecated since version 1.13.0.
-
virtual void
StartSession
()¶ Creates the streams, events, and commands.
-
virtual void
StopSession
()¶ Destroys the streams, events, and commands.
Functions
-
virtual bool
Initialize
()¶ Dynamically loads the Genvid module, creates the session and prepares the audio/video streams.
-
virtual bool
Terminate
()¶ Stops all audio and video capture, destroys the session and unloads the Genvid module.
-
virtual void
MatchHasStarted
()¶ Function used to trigger the MatchHasStarted event from the AGameState class to
UGenvidSession
and all of its properties.
-
virtual void
MatchHasEnded
()¶ Function used to trigger the MatchHasEnded event from the AGameState class to
UGenvidSession
and all of its properties.
-
static UGenvidSessionManager *
CreateSessionManager
()¶ Function used to create the session manager.
-
FString
GetVersion
()¶ Retrieves the Genvid SDK version information.
Properties
-
TSubclassOf<UGenvidSession>
SessionClass
¶ Class definition used to create the session instance.
-
bool
ActivateSDK
¶ Enables or disables the Genvid SDK.
-
bool
bIsInitialized
¶ Read only property used to indicate the GenvidSessionManager state.
-
virtual void