Package com.kosdev.kos.core.service.app
Class LoadableApp
java.lang.Object
com.kosdev.kos.core.service.app.LoadableApp
Information about a manifest section that has a "kos.autostart." prefix.
Any autostart applications are started during boot and the list of autostarted apps
can be accessed from
AppService. Non-autostart apps are intended to be
managed by user code. The list of non-autostart apps can also be accessed from
AppService.
This is merely a convenience wrapper around data that can be easily pulled from the
manifest. However, discovering available apps is a common use case which is facilitated
by AppService. For similar use cases where section name prefixes are used to
identify common elements in the manifest that may also contain applications, it is
sufficient to simply identify the section and the application kab to launch the
application.
- Since:
- 1
- Version:
- 9
-
Method Summary
Modifier and TypeMethodDescriptionintReturn the app api version.getAppId()Return the id of the application within the section.Return the application kab.Return information about the sdk's that are packaged with this app.The section the application is part of.The name of the section.Return the version of the application from the kab
-
Method Details
-
getSectionName
The name of the section.- Since:
- 1
-
getAppId
Return the id of the application within the section.- Since:
- 1
-
getApiVersion
public int getApiVersion()Return the app api version.- Since:
- 9
-
getVersion
Return the version of the application from the kab- Since:
- 1
-
getSection
The section the application is part of.- Since:
- 1
-
getAppKab
Return the application kab.- Since:
- 1
-
getSdkList
Return information about the sdk's that are packaged with this app. This can be used to determine which version of which sdk the app was built against. This can be used to investigate compatibility issues with actually installed applications.- Since:
- 9
-