Created
August 9, 2019 09:10
-
-
Save aditrioka/40cab37bdb8033cef91a894caa74e986 to your computer and use it in GitHub Desktop.
token received listener class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// we created this class to listen to token received | |
class TokenReceivedListener(private val context: Context): PushManager.OnTokenReceivedListener { | |
private val TAG = TokenReceivedListener::class.java.simpleName | |
override fun onTokenReceived(token: String?) { | |
token?.let { | |
// future implementation | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment