GoToEmbeddedAction

constructor(@NonNull targetFile: EmbeddedFile, openInNewWindow: Boolean)

Creates action instance.

Parameters

targetFile

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

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


constructor(@NonNull targetFile: EmbeddedFile, openInNewWindow: Boolean, @Nullable subActions: List<Action>)

Creates action instance.

Parameters

targetFile

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

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

subActions

List of sub-actions of this action.