GoToEmbeddedAction

constructor(pdfPath: String?, @IntRange(from = 0) pageIndex: Int, isNewWindow: Boolean, subActions: List<Action> = emptyList(), destination: Destination = Destination( pageIndex = pageIndex, type = DestinationType.FitPage, left = 0f, top = 0f, width = 0f, height = 0f, zoom = 0f ))


constructor(embeddedFile: EmbeddedFile, openInNewWindow: Boolean)

Creates action instance.

Parameters

embeddedFile

Target embedded file, action will be no-op if the embedded file won't be present in the document once the action is executed.

openInNewWindow

{@code true} to open embedded file in a new activity (works only when executed from within {@link PdfActivity}), {@code false} to replace currently opened file.