How to set Annotation Author for Android?

Product:
PDFTron Android SDK
Product Version:
9.2.1
Please give a brief summary of your issue:
(Think of this as an email subject)
is there any way we can set Annotation Author for each annotation?
Similar query being asked for IOS,

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

@ananthasooraj.pai

What is the high level use case for setting the annotation author programatically?

Thanks,
Andrew.

We have a use case displaying ‘user name’ who modified or added an annotation.
Sharing the screenshot of the same from our web-app.

Hi @ananthasooraj.pai

Could you clarify a few more questions for us:

  • Do you expect the author to be able to modify other people’s annotation? Can one author modify another author’s annotations?
  • In the annotation list you’ve displayed do you expect the creator to be shown or the author who last modified the annotation to be shown?

Thanks,
Andrew

Hi @ama

Please find the replies inline

  • Do you expect the author to be able to modify other people’s annotation? Can one author modify another author’s annotations?
    Yes.
  • In the annotation list you’ve displayed do you expect the creator to be shown or the author who last modified the annotation to be shown?
    Creator.
    Thanks

Hi there,

It is possible to set the author by using the ToolManager.
Please see sample java code below:

mToolmanager.setAuthorName("Your Author Name");
mToolmanager.setAuthorId("Your Author Id");

Best,
Eamon