-
- All Implemented Interfaces:
-
org.readium.r2.navigator.Navigator
public interface SelectableNavigator implements Navigator
A navigator supporting user selection.
-
-
Method Summary
Modifier and Type Method Description abstract SelectioncurrentSelection()Currently selected content. abstract UnitclearSelection()Clears the current selection. abstract StateFlow<Locator>getCurrentLocator()Current position in the publication. LocatorgetCurrentLocation()-
-
Method Detail
-
currentSelection
abstract Selection currentSelection()
Currently selected content.
-
clearSelection
abstract Unit clearSelection()
Clears the current selection.
-
getCurrentLocator
abstract StateFlow<Locator> getCurrentLocator()
Current position in the publication. Can be used to save a bookmark to the current position.
-
getCurrentLocation
Locator getCurrentLocation()
-
-
-
-