getPushHistory

Returns the push notification history.

This method retrieves a list of recently received push notifications, including both remote and local notifications. The history is limited to PUSH_HISTORY_CAPACITY most recent pushes. Example:


  List<PushMessage> history = Pushwoosh.getInstance().getPushHistory();
  for (PushMessage message : history) {
      Log.d("Pushwoosh", "Message: " + message.getMessage());
      Log.d("Pushwoosh", "Received at: " + message.getTimestamp());
  }

Return

Push history as List of com.pushwoosh.notification.PushMessage. Maximum of PUSH_HISTORY_CAPACITY pushes are returned