Beamable SDK
Public Member Functions | List of all members
Beamable.Common.Player.IRefreshable Interface Reference
Inheritance diagram for Beamable.Common.Player.IRefreshable:
Inheritance graph
[legend]

Public Member Functions

Promise Refresh ()
 Forces a check of the data to make sure its up to date. More...
 

Member Function Documentation

◆ Refresh()

Promise Beamable.Common.Player.IRefreshable.Refresh ( )

Forces a check of the data to make sure its up to date.

If a refresh is already running, then this resulting Promise will represent the existing refresh call. This means you can't have multiple refreshes happening at once.

If there is not already a refresh happening, then this will always trigger a OnLoadingStarted and a OnLoadingFinished. If the data actually changes, then a IObservable.OnUpdated will trigger.

Implemented in Beamable.Common.Player.AbsRefreshableObservable.


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