Package | Description |
---|---|
org.sagebionetworks.bridge.rest.api | |
org.sagebionetworks.bridge.rest.model |
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<Message> |
ForResearchersApi.sendNotificationToParticipant(String userId,
NotificationMessage notificationMessage)
Send a push notification to a single participant
Send a push notification to an individual participant (assuming they have registered for push notifications).
|
retrofit2.Call<Message> |
ParticipantsApi.sendNotificationToParticipant(String userId,
NotificationMessage notificationMessage)
Send a push notification to a single participant
Send a push notification to an individual participant (assuming they have registered for push notifications).
|
retrofit2.Call<Message> |
NotificationsApi.sendNotificationToParticipant(String userId,
NotificationMessage notificationMessage)
Send a push notification to a single participant
Send a push notification to an individual participant (assuming they have registered for push notifications).
|
retrofit2.Call<Message> |
NotificationsApi.sendNotificationToTopic(String guid,
NotificationMessage notificationMessage)
Send a push notification to all topic subscribers
|
retrofit2.Call<Message> |
ForAdminsApi.sendNotificationToTopic(String guid,
NotificationMessage notificationMessage)
Send a push notification to all topic subscribers
|
retrofit2.Call<Message> |
ForResearchersApi.sendStudyParticipantNotification(String studyId,
String userId,
NotificationMessage notificationMessage)
Send a push notification to a single participant
Send a push notification to an individual participant (assuming they have registered for push notifications).
|
retrofit2.Call<Message> |
StudyParticipantsApi.sendStudyParticipantNotification(String studyId,
String userId,
NotificationMessage notificationMessage)
Send a push notification to a single participant
Send a push notification to an individual participant (assuming they have registered for push notifications).
|
retrofit2.Call<Message> |
ForStudyCoordinatorsApi.sendStudyParticipantNotification(String studyId,
String userId,
NotificationMessage notificationMessage)
Send a push notification to a single participant
Send a push notification to an individual participant (assuming they have registered for push notifications).
|
Modifier and Type | Method and Description |
---|---|
NotificationMessage |
NotificationInfo.getMessage()
The message to use for a notification and reminder, if these have been specified.
|
NotificationMessage |
NotificationMessage.lang(String lang) |
NotificationMessage |
NotificationMessage.message(String message) |
NotificationMessage |
NotificationMessage.subject(String subject) |
Modifier and Type | Method and Description |
---|---|
List<NotificationMessage> |
Notification.getMessages()
The message to use for a notification.
|
Modifier and Type | Method and Description |
---|---|
Notification |
Notification.addMessagesItem(NotificationMessage messagesItem) |
Modifier and Type | Method and Description |
---|---|
Notification |
Notification.messages(List<NotificationMessage> messages) |
void |
Notification.setMessages(List<NotificationMessage> messages) |
Copyright © 2023 Sage Bionetworks. All rights reserved.