Interface: SystemApi
Provides methods to interact with the System API, including device information, current activity, and application listing.
Methods
getApplications()
getApplications():
Promise<ApplicationList>
Retrieves the list of installed applications on the device.
Returns
Promise<ApplicationList>
Throws
If the request fails.
getCurrentActivity()
getCurrentActivity():
Promise<CurrentActivity>
Retrieves the current activity running on the device (e.g. active app or source).
Returns
Promise<CurrentActivity>
Throws
If the request fails.
getSystem()
getSystem():
Promise<SystemInfoEnriched>
Retrieves system information from the device.
Returns
Promise<SystemInfoEnriched>
A SystemInfoEnriched object extending the raw system info with a formatted fullApiVersion string (e.g. "6.2.0").
Throws
If the request fails.