Details
Description
Current code for using this API is functional but too verbose:
PushRendererMessage pushMessage = new PushRendererMessage();
pushMessage.setProperty("subject", notificationSubject);
pushMessage.setProperty("body", notificationMessage);
PushRenderer.render(NOTIFICATION_GROUP_NAME, pushMessage);
Something along the lines of:
PushRenderer.render(NOTIFICATION_GROUP_NAME,
new PushMessage(notificationSubject, notificationMessage) );
would be preferred
PushRendererMessage pushMessage = new PushRendererMessage();
pushMessage.setProperty("subject", notificationSubject);
pushMessage.setProperty("body", notificationMessage);
PushRenderer.render(NOTIFICATION_GROUP_NAME, pushMessage);
Something along the lines of:
PushRenderer.render(NOTIFICATION_GROUP_NAME,
new PushMessage(notificationSubject, notificationMessage) );
would be preferred
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion