アセットのコメントの取得

以下を参照してください。

アセットのコメントは、アセットの状態の履歴の中に保管されます。 アセットの現在のコメントを取得するには、RAMAsset.getCurrentStateHistory() を使用します。

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

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

フィードバック