Interface InstallExtensionCallback.Params
- Enclosing interface:
- InstallExtensionCallback
public static interface InstallExtensionCallback.Params
The parameters of the
InstallExtensionCallback.-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the absolute path to the CRX file the extension is about to be installed from.default StringReturns the ID of the extension to install.default StringReturns the name of the extension to install.default StringReturns the version of the extension to install.hosts()Returns an immutable list of the hosts that the extension requests access to.default List<ExtensionPermission>Returns an immutable list of the required extension permissions.
-
Method Details
-
extensionId
Returns the ID of the extension to install. -
extensionName
Returns the name of the extension to install. -
extensionVersion
Returns the version of the extension to install. -
extensionCrxFile
Returns the absolute path to the CRX file the extension is about to be installed from.The file will be automatically deleted after the installation is completed or canceled. You can make a copy of the CRX file and store it for future use. For example, you can use the file to pack the extension into the application bundle and install it programmatically using
Extensions.install(java.nio.file.Path). -
hosts
Returns an immutable list of the hosts that the extension requests access to.The values are represented in the form of matches pattern.
Please note, that values are being processed by engine and might be not equal to the extension manifest values. For example, some slashes and wildcards could be added.
-
permissions
Returns an immutable list of the required extension permissions.
-