public class Notification
Modifier and Type | Method and Description |
---|---|
boolean |
isSubscribed() |
void |
subscribe(InPlayerNotificationCallback callback)
Subscribes the user to listen for Notifications
|
void |
unsubscribe()
Closes the connection for notifications
|
public void subscribe(@NotNull InPlayerNotificationCallback callback)
Subscribes the user to listen for Notifications
callback
- InPlayerNotificationCallbackpublic void unsubscribe()
Closes the connection for notifications
public boolean isSubscribed()