public class

AnnotationViewModel

extends AndroidViewModel
java.lang.Object
   ↳ AndroidViewModel
     ↳ com.pdftron.collab.viewmodel.AnnotationViewModel

Class Overview

ViewModel for annotation

Summary

Nested Classes
class AnnotationViewModel.Factory  
Public Constructors
AnnotationViewModel(Application application, String documentId)
Public Methods
Completable consumeLastAnnotations(ArrayList<String> ids)
getAnnotations()
getLastAnnotations()
void sendAnnotation(String action, String xfdfCommand, String xfdfJSON, String userName)
Must run on a background thread.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AnnotationViewModel (Application application, String documentId)

Public Methods

public Completable consumeLastAnnotations (ArrayList<String> ids)

public getAnnotations ()

public getLastAnnotations ()

public void sendAnnotation (String action, String xfdfCommand, String xfdfJSON, String userName)

Must run on a background thread.