Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains the complete list of EngineEvent types, and their corresponding event classes, that the framework uses.

Hierarchy

  • IEngineEventTypeMap

Index

Properties

Properties

activeGestureTypeChanged

activeGestureTypeChanged: IActiveGestureTypeChangedEngineEvent

Event fired when the value returned by ReaderView.getActiveGestureType() has changed.

activeRendererChanged

activeRendererChanged: IActiveRendererChangedEngineEvent

Event fired after the active renderer has changed and the new renderer has been attached to the ReaderView.

activeTransformChanged

activeTransformChanged: IReaderViewTransformEngineEvent

Event fired when the ReaderView's active transform has changed. This happens when performing a pan-zoom gesture, or when calling transform methods on the ReaderViewTransformManager, such as zoomToEventPosition().

annotationClick

Fired when a mouse click event occurred on a ReaderViewAnnotation.

annotationContextMenu

Fired when contextmenu event occurred on a ReaderViewAnnotation.

annotationIntersectingVisibleRange

annotationIntersectingVisibleRange: IReaderViewAnnotationEngineEvent

Fired when a ReaderViewAnnotation references content that is intersecting with the current visible range.

annotationOutsideVisibleRange

annotationOutsideVisibleRange: IReaderViewAnnotationEngineEvent

Fired when a ReaderViewAnnotation references content that is no longer intersecting the current visible range.

annotationPointerEnter

Fired when a pointerenter event occurred on a ReaderViewAnnotation.

annotationPointerLeave

Fired when a pointerleave event occurred on a ReaderViewAnnotation.

canPerformGoToChanged

canPerformGoToChanged: IReaderViewEngineEvent

Fired when the boolean value returned by ReaderView.canPerformGoto() has changed.

canPerformNextChanged

canPerformNextChanged: IReaderViewEngineEvent

Fired when the boolean value returned by ReaderView.canPerformNext() has changed.

canPerformPreviousChanged

canPerformPreviousChanged: IReaderViewEngineEvent

Fired when the boolean value returned by ReaderView.canPerformPrevious() has changed.

click

Event fired when a click occurs in a page.

contentPositionTimelineCreateProgress

contentPositionTimelineCreateProgress: IContentPositionTimelineCreateProgressEngineEvent

Event used for reporting progress when a ContentPositionTimeline is created for a ReaderPublication.

This event is fired at the ReadingSystemEngine instance where the ReaderPublication was loaded, thus you need to call addEngineEventListener on that ReadingSystemEngine instance to listen on this event.

dblclick

Event fired when a double click occurs in a page.

keydown

Event fired when a key is pressed.

keyup

Event fired when a key is released.

licenseReadingSessionBlocked

licenseReadingSessionBlocked: ILicenseEngineEvent

Event fired when Colibrio License server decided to block the Reading Session. This can happen:

  • if the License API key or secret is invalid.
  • if the device is offline and there is no Offline Reading Session available on the device.

If the Reading Session is blocked continuously for a grace period exceeding 30 days, the Reading system functionality may be limited. Please refer to your Product Commercial Agreement for details.

This event is only applicable when using Colibrio Reader Cloud License SDK.

licenseReadingSessionContinued

licenseReadingSessionContinued: ILicenseEngineEvent

Event fired when Colibrio License server continued an existing Reading Session instead of registering a new one. The Offline Reading Session stored on the device is also updated.

This event is only applicable when using Colibrio Reader Cloud License SDK.

licenseReadingSessionOffline

licenseReadingSessionOffline: ILicenseEngineEvent

Event fired when device is offline, but an Offline Reading Session is available.

This event is only applicable when using Colibrio Reader Cloud License SDK.

licenseReadingSessionPending

licenseReadingSessionPending: ILicenseEngineEvent

Event fired when there is a problem connecting to the license server. The client will try again after a short delay.

Reasons why this might happen:

licenseReadingSessionStarted

licenseReadingSessionStarted: ILicenseEngineEvent

Event fired when a new Reading Session has been registered with the Colibrio License server. The Reading Session is also stored on the device (Offline Reading Session) and will be valid for the duration defined in your Product Commercial Agreement.

This event is only applicable when using Colibrio Reader Cloud License SDK.

mediaElementCurrentTimeChanged

mediaElementCurrentTimeChanged: IPublicationMediaElementEngineEvent

The current time position in a media element changed.

This event fires several times every second while the media is playing.

mediaElementInsideVisiblePages

mediaElementInsideVisiblePages: IPublicationMediaElementEngineEvent

A media element in the publication loaded in a visible page. This is always the first event fired for a specific media element.

Initially the media element is in paused state and not ready.

mediaElementOutsideVisiblePages

mediaElementOutsideVisiblePages: IPublicationMediaElementEngineEvent

A media element in the publication was unloaded from a visible page. This means that the media element is paused and cannot be interacted with anymore. No more events will be seen for that specific media element.

mediaElementPaused

A media element in the publication was paused.

mediaElementPlay

A media element in the publication started playing.

mediaElementReady

A media element have buffered enough data to start playback

mediaElementSeeked

A media element in the publication has finished seeking to a new position.

mediaElementWaiting

A media element in the publication don't have enough data to continue playback.

navigationEnded

Fires when a navigation action has completed or has been canceled.

navigationIntent

Fired when a "navigation intent" occurs that was NOT initiated by a call to ReaderView.next(), ReaderView.previous(), ReaderView.goToStart() or ReaderView.goTo().

Some examples are:

  • User clicks a link in the publication.
  • A scripted content document has triggered navigation.

Default action: Navigate to the intended locator, only if the locator points to a readerDocument assigned to the ReaderView. Otherwise, do nothing.

navigationStarted

Fired when a new navigation action has started, or replaces an existing ongoing navigation.

offscreenContentRendered

offscreenContentRendered: IReaderViewEngineEvent

Event fired when all offscreen content currently loaded by the active renderer have rendered.

offscreenContentRendering

offscreenContentRendering: IReaderViewEngineEvent

Event fired when offscreen content starts rendering.

pageProgressionTimelineRecalculated

pageProgressionTimelineRecalculated: IPageProgressionTimelineEngineEvent

This event is fired when a PageProgressionTimeline has been recalculated and can be retrieved from the ReaderView.

pageProgressionTimelineRecalculating

pageProgressionTimelineRecalculating: IPageProgressionTimelineRecalculatingEvent

This event is fired when a PageProgressionTimeline is being recalculated due to a ReaderView configuration change such as a window resize or if ReaderViewOptions changes.

This event is fired multiple times while the timeline is being recalculated with the progress of the operation. The timeline is not available during this process.

The timeline recalculation operation is finished when a "pageProgressionTimelineRecalculated" event is fired.

pageProgressionTimelineVisibleRangeChanged

pageProgressionTimelineVisibleRangeChanged: IPageProgressionTimelineEngineEvent

This event is fired when the visible range of a PageProgressionTimeline has changed.

pointercancel

pointercancel: IPointerEngineEvent

Fired when a 'pointercancel' or 'touchcancel' event occurs in a page.

pointerdown

pointerdown: IPointerEngineEvent

Fired when a 'pointerdown','touchstart' or 'mousedown' event occurs in a page.

pointermove

pointermove: IPointerEngineEvent

Fired when a 'pointermove','touchmove' or 'mousemove' event occurs in a page.

pointerup

Fired when a 'pointerup','touchend' or 'mouseup' event occurs in a page.

readerDocumentLoaded

readerDocumentLoaded: IReaderDocumentViewEngineEvent

Fired when a reader document has been loaded by a ReaderView for rendering.

readerDocumentUnloaded

readerDocumentUnloaded: IReaderDocumentViewEngineEvent

Fired when a reader document has been unloaded by the ReaderView, it is no longer rendered.

readerViewStateDataChanged

readerViewStateDataChanged: IReaderViewEngineEvent

Fired when the contents returned by ReaderView.toJSON() has changed.

readingPositionChanged

readingPositionChanged: IReaderViewEngineEvent

Fired when the current reading position has changed for a ReaderView.

rendererScrollCanceled

rendererScrollCanceled: IReaderViewEngineEvent

Fired when a scroll has been canceled, due to a ReaderView configuration change, or if the renderer had to abort the scrolling due to a navigation. You can get the new height using IReaderView.getScrollState()

rendererScrollEnded

rendererScrollEnded: IRendererScrollEngineEvent

Fired when a scrolling renderer has finished scrolling.

rendererScrollHeightChanged

rendererScrollHeightChanged: IReaderViewEngineEvent

Fired when a scrolling renderer's scrollHeight has changed, either due to navigation or due to scripts inside a document changing the height of the document.

rendererScrollStarted

rendererScrollStarted: IReaderViewEngineEvent

Fired when a scrolling renderer has started to scroll.

rendererTransitionEnded

rendererTransitionEnded: IReaderViewEngineEvent

Fired when a renderer has ended transition/animation

rendererTransitionStarted

rendererTransitionStarted: IReaderViewEngineEvent

Fired when a renderer has started a transition/animation

selectionChanged

Fired when the current selection has changed in content documents.

swipeNavigationGestureProgress

swipeNavigationGestureProgress: ISwipeNavigationGestureProgressEngineEvent

Fired when a swipe navigation is in progress.

syncMediaEndReached

syncMediaEndReached: ISyncMediaEngineEvent

The SyncMediaPlayer has reached the end of the timeline.

syncMediaError

Fired when an error occurred in the SyncMediaPlayer.

syncMediaPaused

syncMediaPaused: ISyncMediaEngineEvent

The "paused" property of the SyncMediaPlayer has changed to true, and playback has stopped.

syncMediaPlay

syncMediaPlay: ISyncMediaEngineEvent

The "paused" property of the SyncMediaPlayer has changed to false. The player will resume playback when ready.

syncMediaRangeEndReached

syncMediaRangeEndReached: ISyncMediaRangeEngineEvent

Event fired when the SyncMediaPlayer reached the end of a playback range provided in the setPlaybackRange() method.

syncMediaRangeRemoved

syncMediaRangeRemoved: ISyncMediaRangeEngineEvent

Event fired when a playback range in the SyncMediaPlayer is removed.

syncMediaReaderViewSynchronizationStateChanged

syncMediaReaderViewSynchronizationStateChanged: ISyncMediaReaderViewSynchronizationStateChangedEngineEvent

The synchronization state between the SyncMediaPlayer and the ReaderView has changed. If managed synchronization is enabled, the framework has already acted on the state change. If managed synchronization is disabled, you might need to navigate the ReaderView, or seek to a new timeline position in order to make them synchronized.

Before you use this event to try to achieve a specific synchronization behaviour between the ReaderView and SyncMediaPlayer, please note that synchronization is an advanced topic. It is very likely that what you are trying to achieve is already available through SyncMediaPlayer.setManagedReaderViewSynchronizationOptions() or SyncMediaPlayer.setReaderViewSynchronizationWaitBehavior(). Please contact Colibrio if you are missing a specific type of synchronization behaviour.

syncMediaReady

syncMediaReady: ISyncMediaEngineEvent

The SyncMediaPlayer has enough data to start playing, and is not waiting for ReaderView synchronization. If the "paused" property of the player is false, the playback will resume immediately.

syncMediaSeeked

syncMediaSeeked: ISyncMediaEngineEvent

The SyncMediaPlayer has seeked to a new position in the timeline.

syncMediaSeeking

syncMediaSeeking: ISyncMediaEngineEvent

The SyncMediaPlayer has started seeking to a new position in the timeline. The seeking operation has completed when the syncMediaPlayerSeeked event fires.

syncMediaSegmentActive

syncMediaSegmentActive: ISyncMediaSegmentActiveEngineEvent

Fired when a new SyncMediaSegment is active in the SyncMediaPlayer.

The event object contains additional information about the targets related with the segment. For example, when playing EPUB Media Overlays, the event object will contain information about the current "par" node and its parent "seq" nodes, as well as the targeted HTML node.

This event should be used by clients to implement "escapability"

syncMediaSegmentDurationChanged

syncMediaSegmentDurationChanged: ISyncMediaSegmentDurationChangedEngineEvent

The SyncMediaPlayer has received additional information about a segment's duration (such as after loading the media) and it did not match with the approximated value. The segment has been updated with the new duration value and the total duration of the timeline has also been updated.

syncMediaSegmentFinished

syncMediaSegmentFinished: ISyncMediaEngineEvent

This event fires when SyncMediaPlayer finishes playing a SyncMediaSegment. The SyncMediaSegment that finished playing can be retrieved using the event object's timelinePosition property.

Note that this event does not fire for the active segment if the player seeks to a new position before the end of the segment was reached.

syncMediaTimelineCreateProgress

syncMediaTimelineCreateProgress: ISyncMediaTimelineCreateProgressEngineEvent

Event used for reporting progress when a SyncMediaTimeline is created for a ReaderPublication.

This event is fired at the ReadingSystemEngine instance where the ReaderPublication was loaded, thus you need to call addEngineEventListener on that ReadingSystemEngine instance to listen on this event.

syncMediaTimelinePositionChanged

syncMediaTimelinePositionChanged: ISyncMediaEngineEvent

The current SyncMediaTimelinePosition of the SyncMediaPlayer has changed. During playback, this method is called approximately every 100ms.

syncMediaWaiting

The SyncMediaPlayer is waiting for data, or is waiting for ReaderView synchronization. The player will fire 'syncMediaPlayerReady' when it is no longer waiting for data or ReaderView synchronization.

visibleContentRendered

visibleContentRendered: IReaderViewEngineEvent

Fired when the current visible pages has been completed rendering.

visibleContentRendering

visibleContentRendering: IReaderViewEngineEvent

Event fired when visible content starts rendering.

visiblePagesChanged

visiblePagesChanged: IReaderViewEngineEvent

Fired when the list of visible pages inside a ReaderView has changed.

visibleRangeChanged

visibleRangeChanged: IReaderViewEngineEvent

Fired when a ReaderView's visible range has changed.

Generated using TypeDoc