Android get messages attached to files

I have done an android application that sincronize files with ownCloud.
I need to get messages in the back end and attached to the files.
I have seen in android ownCloud lib this class GetRemoteShareOperation but there are not example.
Is it possible to do with android lib that i just have?