A readonly list of the player's Announcements. The data will be updated by the Beamable SDK.
More...
|
override async Promise | PerformRefresh () |
|
void | SetData (List< T > nextData) |
|
|
int | Count [get] |
|
T | this[int index] [get] |
|
bool | IsInitialized [getprotected set] |
|
Action< List< T > > | OnDataUpdated |
| An event that happens right after IObservable.OnUpdated, but this one contains the list of internal data.
|
|
Action< IEnumerable< T > > | OnElementsAdded |
| An event that happens when new items are added to the list from a AbsRefreshableObservable.Refresh call. This event happens after the IObservable.OnUpdated event
|
|
Action< IEnumerable< T > > | OnElementRemoved |
| An event that happens when new items are removed to the list from a AbsRefreshableObservable.Refresh call. This event happens after the IObservable.OnUpdated event
|
|
A readonly list of the player's Announcements. The data will be updated by the Beamable SDK.
◆ Claim()
- Parameters
-
- Returns
- A Promise representing the work.
◆ GetAnnouncement()
Announcement Beamable.Player.PlayerAnnouncements.GetAnnouncement |
( |
string |
id | ) |
|
Get the first Announcement that matches the given id. It is possible that the announcement hasn't been pulled from the Beamable Cloud yet, so consider using the IRefreshable.Refresh method.
- Parameters
-
id | The id of the announcement to find |
- Returns
- The first matching Announcement
◆ OnDispose()
Promise Beamable.Player.PlayerAnnouncements.OnDispose |
( |
| ) |
|
|
inline |
Used as a way to allow services attached to a IDependencyProvider to clean up their state when the IDependencyProviderScope.Dispose method is called
- Returns
- A promise that represents when the service's clean up is complete. This promise will hang the entire disposal process of the IDependencyProviderScope
Implements Beamable.Common.Dependencies.IBeamableDisposable.
◆ Read()
- Parameters
-
- Returns
- A Promise representing the work.
The documentation for this class was generated from the following file:
- com.beamable/Runtime/Player/PlayerAnnouncements.cs