Beamable SDK
|
Any service that is in a IDependencyProvider can have this interface. When the IDependencyProvider is disposed via the IDependencyProviderScope.Dispose method, this service's IBeamableDisposable.OnDispose method will trigger. More...
Public Member Functions | |
Promise | OnDispose () |
Used as a way to allow services attached to a IDependencyProvider to clean up their state when the IDependencyProviderScope.Dispose method is called More... | |
Any service that is in a IDependencyProvider can have this interface. When the IDependencyProvider is disposed via the IDependencyProviderScope.Dispose method, this service's IBeamableDisposable.OnDispose method will trigger.
Promise Beamable.Common.Dependencies.IBeamableDisposable.OnDispose | ( | ) |
Used as a way to allow services attached to a IDependencyProvider to clean up their state when the IDependencyProviderScope.Dispose method is called
Implemented in Beamable.BeamContext, Beamable.Api.Notification.PubnubSubscriptionManager, Beamable.Player.PlayerAnnouncements, and Beamable.Player.PlayerStats.