ru.dgis.sdk.road_events.AuthorInfo | Android SDK | 2GIS Documentation
Android SDK

AuthorInfo

Information about the author of the event or the photo.

AuthorInfo(type: AuthorType, name: String)

Information about the author of the event or the photo.

Parameters
type
name
Returns
Properties

Content author category.

String containing the name of the user who added the event or the photo.

  • Username if the author is an authorized user and has agreed to have their name displayed.
  • Empty string for an anonymous user or a user who has refused to have their name displayed.