retrieves the unread messages that this device has received . all messages in the returned list are considered to be read when this method completes . calling this method will clear the unread messages of this device . concode_field_sep List<Message> unreadMessages concode_elem_sep double reliability concode_elem_sep boolean registered concode_elem_sep double range concode_elem_sep CommModel model concode_elem_sep Optional<Double> maxRange concode_elem_sep int receivedCount concode_elem_sep CommUser user concode_elem_sep List<Message> outbox concode_elem_sep Predicate<CommUser> rangePredicate concode_field_sep void broadcast concode_elem_sep void receive concode_elem_sep Optional<Double> getMaxRange concode_elem_sep boolean apply concode_elem_sep void checkRegistered concode_elem_sep void unregister concode_elem_sep int getUnreadCount concode_elem_sep int getReceivedCount concode_elem_sep void clearOutbox concode_elem_sep void sendMessages concode_elem_sep double getReliability concode_elem_sep CommDeviceBuilder builder concode_elem_sep boolean isRegistered concode_elem_sep String toString concode_elem_sep List<Message> getOutbox concode_elem_sep void send concode_elem_sep void register
ImmutableList < Message > function ( ) { final ImmutableList < Message > loc0 = ImmutableList . copyOf ( unreadMessages ) ; unreadMessages . clear ( ) ; return loc0 ; }