Public functions | |
---|---|
OnMessage(const Message & message)=0 | virtual void Called on the client when a message arrives. |
OnTokenReceived(const char *token)=0 | virtual void Called on the client when a registration token arrives. |
virtualvoidOnMessage(constMessage&message)=0
Called on the client when a message arrives.
Details | |||
---|---|---|---|
Parameters |
|
virtualvoidOnTokenReceived(constchar*token)=0
Called on the client when a registration token arrives.
This function will eventually be called in response to a call to firebase::messaging::Initialize(...).
Details | |||
---|---|---|---|
Parameters |
|
virtual~Listener()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-23 UTC.