clearAllPushNotifications

public static void clearAllPushNotifications(Context context)

Clears all push notifications and background message notifications. For example: If Account A is offline or moved to the background, and Account B sends a message to Account A, Account A's device will receive a notification for this message. Calling this function will clear such notifications. However, push notifications sent via the broadcast push service from the developer backend will remain and will not be cleared.

Parameters

context

The context.