java.lang.Object | |
↳ | com.pspdfkit.analytics.Analytics.Event |
Analytics event. An event represents a occurrence or user interaction within the PSPDFKit framework. Each event has a unique name which you can find in this class.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ADD_BOOKMARK | Add bookmark event. | |||||||||
String | CANCEL_ANNOTATION_CREATOR_DIALOG | Cancel annotation creator dialog event. | |||||||||
String | CHANGE_PAGE | Page change event. | |||||||||
String | CHANGE_PROPERTY_IN_INSPECTOR | Change property in inspector event. | |||||||||
String | CREATE_ANNOTATION | Create annotation event. | |||||||||
String | DELETE_ANNOTATION | Delete annotation event. | |||||||||
String | EDIT_BOOKMARKS | Edit bookmarks event. | |||||||||
String | ENTER_ANNOTATION_CREATION_MODE | Open annotation creation toolbar event. | |||||||||
String | EXIT_ANNOTATION_CREATION_MODE | Closed annotation creation toolbar event. | |||||||||
String | EXIT_SEARCH | Exit search event. | |||||||||
String | FAILED_DOCUMENT_LOAD | Failed document load event. | |||||||||
String | LOAD_DOCUMENT | Load document event. | |||||||||
String | MOVE_TOOLBAR | Move toolbar event. | |||||||||
String | NAVIGATE_THUMBNAIL_BAR | Navigate thumbnail bar event. | |||||||||
String | OPEN_DOCUMENT_EDITOR | Open document editor event. | |||||||||
String | OPEN_OUTLINE_VIEW | Open outline view event. | |||||||||
String | OPEN_READER_VIEW | Open reader view event. | |||||||||
String | OPEN_THUMBNAIL_GRID | Open thumbnail grid event. | |||||||||
String | PERFORM_DOCUMENT_EDITOR_ACTION | Perform document editor action event. | |||||||||
String | PERFORM_SEARCH | Perform search event. | |||||||||
String | PERFORM_TEXT_SELECTION_ACTION | Perform text selection action event. | |||||||||
String | Print event. | ||||||||||
String | REMOVE_BOOKMARK | Delete bookmark event. | |||||||||
String | RENAME_BOOKMARK | Rename bookmark event. | |||||||||
String | SELECT_ANNOTATION | Select annotation event. | |||||||||
String | SELECT_SEARCH_RESULT | Select search result event. | |||||||||
String | SELECT_TEXT | Select text event. | |||||||||
String | SET_ANNOTATION_CREATOR | Sets annotation creator event. | |||||||||
String | SHARE | Share event. | |||||||||
String | SHOW_ANNOTATION_CREATOR_DIALOG | Show annotation creator dialog event. | |||||||||
String | SHOW_ANNOTATION_INSPECTOR | Show annotation inspector event. | |||||||||
String | SORT_BOOKMARK | Sort bookmark event. | |||||||||
String | START_SEARCH | Start search event. | |||||||||
String | TAP_ANNOTATION_IN_OUTLINE_LIST | Tap annotation in outline list event. | |||||||||
String | TAP_BOOKMARK_IN_BOOKMARK_LIST | Tap bookmark in bookmark list event. | |||||||||
String | TAP_OUTLINE_ELEMENT_IN_OUTLINE_LIST | Tap outline element in outline list event. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Add bookmark event. This signifies that the user added a bookmark to the document. Params:
PAGE_INDEX
(int). Index of the bookmarked page.
Cancel annotation creator dialog event. Signifies that the annotation creator dialog was cancelled by the user.
Page change event. This signifies that the user changed the page. Params:
PAGE_INDEX
(int). Old page index.
TARGET_PAGE_INDEX
(int). New page index.
Change property in inspector event. This signifies that the user has changed an annotation property inside the annotation inspector.
Create annotation event. This signifies that the user created an annotation and added it to the document. Params:
PAGE_INDEX
(int). Page of the annotation.
ANNOTATION_TYPE
(String). Type of the annotation.
Delete annotation event. This signifies that the user deleted an annotation from the document. Params:
PAGE_INDEX
(int). Page of the annotation.
ANNOTATION_TYPE
(String). Type of the annotation.
Edit bookmarks event. This signifies that the user has entered bookmark editing mode inside the bookmarks list.
Open annotation creation toolbar event. This event signifies that the user opened the annotation creation toolbar. Params:
ANNOTATION_TOOL
(String). The active AnnotationTool
.
Closed annotation creation toolbar event. This event signifies that the user closed the annotation creation toolbar. Params:
ANNOTATION_TOOL
(String). The active AnnotationTool
, or "null"
if no annotation tool was active.
Exit search event. This signifies that the user left the search mode.
Failed document load event. This event signifies that loading of a document has failed. Params:
VALUE
(String). Message of the error that caused the loading failure.
Load document event. This event signifies that the user has loaded a document.
Move toolbar event. This signifies that the dragged moved a toolbar to a different location. Params:
VALUE
(String). Toolbar position (name of a ToolbarCoordinatorLayout.LayoutParams.Position
value).
Navigate thumbnail bar event. This event signifies that the user navigated to a page using the thumbnail bar.
PAGE_INDEX
(int). The page to which the user navigated.
Open document editor event. This signifies that the user opened the document editor from the thumbnail grid.
Open outline view event. This signifies that the user opened the outline panel containing the document outline, annotations, and bookmarks.
Open reader view event. This signifies that the user opened the reader view containing a reflowed version of the document.
Open thumbnail grid event. This signifies that the user opened the thumbnail grid containing the document editor.
Perform document editor action event. This signifies that the user performed an action inside the document editor. Params:
Perform text selection action event. This signifies that the user performed an action on the text selection.
ACTION
(String). The performed action. May be one of: clipboard, tts,
share, highlight, search.
PAGE_INDEX
(int). Index of the page the selected text was on.
Print event. This signifies that the user has printed the document. Params:
ANNOTATION_PROCESSING_MODE
(String). Annotation processing mode of
annotations on printed pages.
Delete bookmark event. This signifies that the user has deleted a bookmark from the document. Params:
PAGE_INDEX
(int). Index of the bookmarked page.
SORT
(String). Sort index of the bookmark (optional).
Rename bookmark event. This signifies that the user renamed a bookmark. Params:
PAGE_INDEX
(int). Index of the bookmarked page.
SORT
(String). Sort index of the bookmark (optional).
Select annotation event. This signifies that the user selected an annotation, either by tapping it or by any other view (for example using the annotation list). Params:
PAGE_INDEX
(int). Page of the annotation.
ANNOTATION_TYPE
(String). Type of the annotation.
Select search result event. This signifies that the user selected a search result, either by tapping it inside a list or by navigating to it (e.g. with the inline search). Params:
PAGE_INDEX
(int). The search result's target page.
SORT
(String). The search result position (inside all search results).
Select text event. This signifies that the user has selected text on the document. Params:
PAGE_INDEX
(int). Index of the page the text was selected on.
Sets annotation creator event. Signifies that the annotation creator dialog was confirmed by the user, setting a creator name.
Share event. This signifies that the user has shared the document with another app. Params:
PACKAGE_NAME
(String). Package name of the app that was shared with.
ACTION
(String). Type of sharing action performed. May be one of
ShareAction
.
Show annotation creator dialog event. This signifies that the annotation creator dialog was shown to the user.
Show annotation inspector event. This signifies that the user has opened the annotation inspector for editing annotation properties.
Sort bookmark event. This signifies that the user changed the sort order of a bookmark item. Params:
PAGE_INDEX
(int). Index of the bookmarked page.
SORT
(String). New sort position of the bookmark item.
Start search event. This signifies that the user started a search by pressing the search icon in the toolbar (or any other way). Params:
SEARCH_TYPE
(String). Type of search that was opened.
Tap annotation in outline list event. This signifies that the user tapped an annotation in the outline list. Params:
PAGE_INDEX
(int). Index of the page the tapped annotation is on.
ANNOTATION_TYPE
(String). Type of the tapped annotation.
Tap bookmark in bookmark list event. This signifies that the user tapped a bookmark item in the bookmark list. Params:
PAGE_INDEX
(int). Index of the bookmarked page.
SORT
(String). Sort index of the bookmark, or "null" if none is
defined.
Tap outline element in outline list event. This signifies that the user tapped an outline element in the outline list. Params:
ACTION_TYPE
(String). Action type of the action stored in the outline
element. May be "null" if the element does not carry an action.