.category(pushMessage.getActionCategory()); // iOS8: User Action category
// apply the 'content-available:1' value:
if (pushMessage.isContentAvailable()) {
// content-available is for 'silent' notifications and Newsstand
builder = builder.instantDeliveryOrSilentNotification();
}
builder = builder.customFields(pushMessage.getData()); // adding other (submitted) fields
// we are done with adding values here, before building let's check if the msg is too long