Beamable SDK
Public Member Functions | List of all members
Beamable.Api.Notification.PushService Class Reference

This type defines the Client main entry point for the Push Notifications feature. More...

Public Member Functions

 PushService (PlatformRequester requester)
 
Promise< EmptyResponseRegister (PushProvider provider, string token)
 Register a Push notification provider with Beamable. A Push provider will enable Beamable to send messages to the player's third party account and have those messages surface even if the player isn't in the game client. More...
 

Detailed Description

This type defines the Client main entry point for the Push Notifications feature.

Related Links

img beamable-logo

Member Function Documentation

◆ Register()

Promise< EmptyResponse > Beamable.Api.Notification.PushService.Register ( PushProvider  provider,
string  token 
)
inline

Register a Push notification provider with Beamable. A Push provider will enable Beamable to send messages to the player's third party account and have those messages surface even if the player isn't in the game client.

Parameters
providerA supported PushProvider
tokenThe third party provided token for the given provider that allows Beamable to send messages to the player's third party account.
Returns
A Promise<T> representing the network call.

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