getMessagesReceived method

List<NearbyMessage> getMessagesReceived()

Retrieves messages received list

Implementation

List<NearbyMessage> getMessagesReceived() {
  hasNewMessages = false;
  return messages;
}