Package | Description |
---|---|
org.sagebionetworks.bridge.rest.api | |
org.sagebionetworks.bridge.rest.model |
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<NotificationRegistration> |
ForConsentedUsersApi.getNotificationRegistration(String guid)
Get a push notification registration
Get a single push notification registration by its GUID.
|
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<GuidHolder> |
ForConsentedUsersApi.createNotificationRegistration(NotificationRegistration notificationRegistration)
Register a client to receive push notifications
Create a new registration.
|
retrofit2.Call<GuidHolder> |
ForConsentedUsersApi.updateNotificationRegistration(String guid,
NotificationRegistration notificationRegistration)
Update a push notification registration
Update an existing device registration with a new token that has been assigned by the client operating system.
|
Modifier and Type | Method and Description |
---|---|
NotificationRegistration |
NotificationRegistration.deviceId(String deviceId) |
NotificationRegistration |
NotificationRegistration.endpoint(String endpoint) |
NotificationRegistration |
NotificationRegistration.guid(String guid) |
NotificationRegistration |
NotificationRegistration.osName(String osName) |
NotificationRegistration |
NotificationRegistration.protocol(NotificationProtocol protocol) |
Modifier and Type | Method and Description |
---|---|
List<NotificationRegistration> |
NotificationRegistrationList.getItems()
Get items
|
Copyright © 2023 Sage Bionetworks. All rights reserved.