urbanairship-core/src/main/java/com/urbanairship/push/notifications/NotificationFactory.java
@Nullable
    public Notification createNotification(@NonNull final PushMessage message, final int notificationId) {
        if (UAStringUtil.isEmpty(message.getAlert())) {
            return null;
        }

        NotificationCompat.Builder builder = createNotificationBuilder(message, notificationId, null);
        return builder.build();
    }
/**
     * Creates a <code>Notification</code> for an incoming push message.
     * <p/>
     * In order to handle notification opens, the application should register a broadcast receiver
     * that extends {@link AirshipReceiver}. When the notification is opened
     * it will call {@link AirshipReceiver#onNotificationOpened(Context, AirshipReceiver.NotificationInfo)}
     * giving the application a chance to handle the notification open. If the broadcast receiver is not registered,
     * or {@code false} is returned, an open will be handled by either starting the launcher activity or
     * by sending the notification's content intent if it is present.
     *
     * @param message The push message.
     * @param notificationId The notification ID.
     * @return The notification to display, or <code>null</code> if no notification is desired.
     */
Creates a Notification for an incoming push message.

In order to handle notification opens, the application should register a broadcast receiver
that extends  AirshipReceiver. When the notification is opened
it will call  AirshipReceiver#onNotificationOpened(Context, AirshipReceiver.NotificationInfo)
giving the application a chance to handle the notification open. If the broadcast receiver is not registered,
or  false is returned, an open will be handled by either starting the launcher activity or
by sending the notification's content intent if it is present.

@param message The push message.
@param notificationId The notification ID.
@return The notification to display, or null if no notification is desired.
Creates a Notification for an incoming push message . In order to handle notification opens the application should register a broadcast receiver that extends AirshipReceiver . When the notification is opened it will call AirshipReceiver#onNotificationOpened ( Context AirshipReceiver . NotificationInfo ) giving the application a chance to handle the notification open . If the broadcast receiver is not registered or false is returned an open will be handled by either starting the launcher activity or by sending the notification ' s content intent if it is present . @param message The push message . @param notificationId The notification ID . @return The notification to display or null if no notification is desired .
@Nullable
    public Notification createNotification(@NonNull final PushMessage message, final int notificationId) {
        if (UAStringUtil.isEmpty(message.getAlert())) {
            return null;
        }
        NotificationCompat.Builder builder = createNotificationBuilder(message, notificationId, null);
        return builder.build();
    }
@ Nullable public Notification createNotification ( @ NonNull final PushMessage message , final int notificationId ) { if ( UAStringUtil . isEmpty ( message . getAlert ( ) ) ) { return null ; } NotificationCompat . Builder builder = createNotificationBuilder ( message , notificationId , null ) ; return builder . build ( ) ; }
Creates a <code>Notification</code> for an incoming push message.
Creates a <code > Notification< / code > for an incoming push message .