-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class PdfViewState implements Parcelable
Represents the state of the PDF viewer that can be saved and restored. Use this with savedInstanceState or other persistence mechanisms.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPdfViewState.CREATOR
-
Constructor Summary
Constructors Constructor Description PdfViewState(Parcel parcel)PdfViewState(Integer currentPage, Float zoom, Float offsetX, Float offsetY)
-
Method Summary
Modifier and Type Method Description final IntegergetCurrentPage()final FloatgetZoom()final FloatgetOffsetX()final FloatgetOffsetY()UnitwriteToParcel(Parcel parcel, Integer flags)IntegerdescribeContents()-
-
Constructor Detail
-
PdfViewState
PdfViewState(Parcel parcel)
-
-
Method Detail
-
getCurrentPage
final Integer getCurrentPage()
-
getOffsetX
final Float getOffsetX()
-
getOffsetY
final Float getOffsetY()
-
writeToParcel
Unit writeToParcel(Parcel parcel, Integer flags)
-
describeContents
Integer describeContents()
-
-
-
-