GenvidSession
New in version 1.12.0.
- header:
Genvid/Public/GenvidSession.h
- implementation:
Genvid/Private/GenvidSession.cpp
-
class UGenvidSession
This is the base class that allows you to manage some properties.
The developer has the responsability to provide a derived class to allow the creation and destruction of the Properties mentionned just below. The class can be a blueprint or a c++ class.
Functions
-
virtual void Create()
Create the Streams, Events and Commands.
-
virtual void Destroy()
Destroy the Streams, Events and Commands.
-
static UGenvidSession *CreateSession()
Function used to create the Session.
-
void SubmitNotification(const FString ¬ificationId, const FString ¬ificationString)
Sends notification data to the Genvid MILE SDK.
Properties
-
TSubclassOf<UGenvidVideo> VideoStreamClass
Class definition used to create the VideoStream instance.
-
TSubclassOf<UGenvidAudio> AudioStreamClass
Class definition used to create the AudioStream instance.
-
TSubclassOf<UGenvidStreams> StreamsClass
Class definition used to create the Streams instance.
-
TSubclassOf<UGenvidEvents> EventsClass
Class definition used to create the Events instance.
-
TSubclassOf<UGenvidCommands> CommandsClass
Class definition used to create the Commands instance.
-
UGenvidVideo *VideoStream
Read-only variable for accessing the VideoStream instance.
-
UGenvidAudio *AudioStream
Read-only variable for accessing the AudioStream instance.
-
UGenvidStreams *Streams
Read-only variable for accessing the Streams instance.
-
UGenvidEvents *Events
Read-only variable for accessing the Events instance.
-
UGenvidCommands *Commands
Read-only variable for accessing the commands instance.
-
bool bIsCreated
Read-only variable for reporting if the audio has been created.
-
virtual void Create()