Beamable SDK
Public Member Functions | List of all members
Beamable.Api.Sessions.Heartbeat Class Reference
Inheritance diagram for Beamable.Api.Sessions.Heartbeat:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Api.Sessions.Heartbeat:
Collaboration graph
[legend]

Public Member Functions

 Heartbeat (ISessionService sessionService, CoroutineService coroutineService, IConnectivityService connectivityService, IPresenceApi presenceApi)
 
void Start ()
 Start sending heartbeats with the SessionService.SendHeartbeat method. More...
 
void ResetLegacyInterval ()
 Reset the interval between heartbeats to the default value 30 seconds. More...
 
void UpdateLegacyInterval (int seconds)
 Change how often a heartbeat is sent to the session. ResetInterval will revert the interval back to the default setting. More...
 

Member Function Documentation

◆ ResetLegacyInterval()

void Beamable.Api.Sessions.Heartbeat.ResetLegacyInterval ( )
inline

Reset the interval between heartbeats to the default value 30 seconds.

Implements Beamable.Api.Sessions.IHeartbeatService.

◆ Start()

void Beamable.Api.Sessions.Heartbeat.Start ( )
inline

Start sending heartbeats with the SessionService.SendHeartbeat method.

Implements Beamable.Api.Sessions.IHeartbeatService.

◆ UpdateLegacyInterval()

void Beamable.Api.Sessions.Heartbeat.UpdateLegacyInterval ( int  seconds)
inline

Change how often a heartbeat is sent to the session. ResetInterval will revert the interval back to the default setting.

Parameters
secondsThe number of seconds between heartbeats.

Implements Beamable.Api.Sessions.IHeartbeatService.


The documentation for this class was generated from the following file: