Beamable SDK
Public Member Functions | Properties | List of all members
Beamable.Player.SdkEventConsumer Class Reference

Public Member Functions

void Unsubscribe ()
 A utility method to unregister the consumer from SdkEventService.
 
Promise RunAfterReconnection (SdkEvent evt)
 A utility method that will add the SdkEvent back to the SdkEventService after internet connectivity has been established. More...
 

Properties

string Source [getset]
 The source of the consumer. This consumer only operates on SdkEvent's that have the same SdkEvent.Source property.
 
SdkEventHandler Handler [getset]
 The SdkEventHandler that executes anytime a source matching SdkEvent is processed.
 
SdkEventService Service [getset]
 A reference back to the SdkEventService that spawned this SdkEventConsumer.
 

Member Function Documentation

◆ RunAfterReconnection()

Promise Beamable.Player.SdkEventConsumer.RunAfterReconnection ( SdkEvent  evt)
inline

A utility method that will add the SdkEvent back to the SdkEventService after internet connectivity has been established.

Parameters
evtA SdkEvent
Returns
A Promise that will complete when the evt has finished processing all of the SdkEventConsumers

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