Class AndroidPushNotificationsService
- java.lang.Object
-
- com.gluonhq.attach.pushnotifications.impl.AndroidPushNotificationsService
-
- All Implemented Interfaces:
PushNotificationsService
public class AndroidPushNotificationsService extends java.lang.Object implements PushNotificationsService
iOS implementation of PushNotificationsService.
-
-
Constructor Summary
Constructors Constructor Description AndroidPushNotificationsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidregister()Register the app for receiving push notifications.voidregister(java.lang.String authorizedEntity)Deprecated.javafx.beans.property.ReadOnlyStringPropertytokenProperty()The unique registration token that can be passed to the server, so the app can receive push notifications
-
-
-
Method Detail
-
tokenProperty
public javafx.beans.property.ReadOnlyStringProperty tokenProperty()
Description copied from interface:PushNotificationsServiceThe unique registration token that can be passed to the server, so the app can receive push notifications- Specified by:
tokenPropertyin interfacePushNotificationsService- Returns:
- a ReadOnlyStringProperty with a unique token
-
register
@Deprecated public void register(java.lang.String authorizedEntity)
Deprecated.Description copied from interface:PushNotificationsServiceRegister the app for receiving push notifications. On iOS this will trigger a confirmation dialog that must be accepted by the user. For Android, you need to pass in the authorizedEntity value that matches the Sender ID of your Google Cloud Messaging or Firebase Cloud Messaging application.- Specified by:
registerin interfacePushNotificationsService- Parameters:
authorizedEntity- a string that matches the Sender ID of a GCM or FCM application
-
register
public void register()
Description copied from interface:PushNotificationsServiceRegister the app for receiving push notifications. On iOS this will trigger a confirmation dialog that must be accepted by the user.- Specified by:
registerin interfacePushNotificationsService
-
-