Получение комментариев о ресурсах

Комментарии о ресурсах хранятся в хронологии состояний ресурса. Текущие комментарии о ресурсах можно получить с помощью метода RAMAsset.getCurrentStateHistory().

//Get the current state history
  RAMStateHistory stateHistory = newAsset.getCurrentStateHistory();

//Get the comments from the state history
  RAMComment[] comments = stateHistory.getComments();

Комментарии