public class Books.Mylibrary.Annotations extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Books.Mylibrary.Annotations.Delete |
class |
Books.Mylibrary.Annotations.Insert |
class |
Books.Mylibrary.Annotations.List |
class |
Books.Mylibrary.Annotations.Summary |
class |
Books.Mylibrary.Annotations.Update |
| Constructor and Description |
|---|
Annotations() |
| Modifier and Type | Method and Description |
|---|---|
Books.Mylibrary.Annotations.Delete |
delete(String annotationId)
Deletes an annotation.
|
Books.Mylibrary.Annotations.Insert |
insert(Annotation content)
Inserts a new annotation.
|
Books.Mylibrary.Annotations.List |
list()
Retrieves a list of annotations, possibly filtered.
|
Books.Mylibrary.Annotations.Summary |
summary(List<String> layerIds,
String volumeId)
Gets the summary of specified layers.
|
Books.Mylibrary.Annotations.Update |
update(String annotationId,
Annotation content)
Updates an existing annotation.
|
public Books.Mylibrary.Annotations.Delete delete(String annotationId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.annotationId - The ID for the annotation to delete.IOExceptionpublic Books.Mylibrary.Annotations.Insert insert(Annotation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the AnnotationIOExceptionpublic Books.Mylibrary.Annotations.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic Books.Mylibrary.Annotations.Summary summary(List<String> layerIds, String volumeId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.layerIds - Array of layer IDs to get the summary for.volumeId - Volume id to get the summary for.IOExceptionpublic Books.Mylibrary.Annotations.Update update(String annotationId, Annotation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.annotationId - The ID for the annotation to update.content - the AnnotationIOExceptionCopyright © 2011–2019 Google. All rights reserved.