sendNotification

public static void sendNotification(Context context, PushNotificationMessage message, PushType pushType, int left)

Sends a notification. Both push notifications and background notifications are ultimately sent through this method.

Parameters

context

The context

message

The notification message

pushType

The push notification type


@Deprecated()
public static void sendNotification(Context context, PushNotificationMessage message)

Deprecated

Sends a notification. Both push notifications and background notifications are ultimately sent through this method.

Deprecated

This method is deprecated. Please use sendNotification instead.

Parameters

context

The context

message

The notification message