|
PebbleOS
|
Per-app cache of app session capabilities, persisted in a settings file. More...
Functions | |
| bool | comm_session_current_app_session_cache_has_capability (CommSessionCapability capability) |
| Check whether the current app's session supports a capability. | |
| void | comm_session_app_session_capabilities_evict (const Uuid *app_uuid) |
| Remove the cached capabilities of an app. | |
| void | comm_session_app_session_capabilities_init (void) |
| Initialize the cache, compacting its settings file. | |
Per-app cache of app session capabilities, persisted in a settings file.
| void comm_session_app_session_capabilities_evict | ( | const Uuid * | app_uuid | ) |
Remove the cached capabilities of an app.
| app_uuid | UUID of the app. |
| void comm_session_app_session_capabilities_init | ( | void | ) |
Initialize the cache, compacting its settings file.
| bool comm_session_current_app_session_cache_has_capability | ( | CommSessionCapability | capability | ) |
Check whether the current app's session supports a capability.
When the app session is connected its capabilities are used and the cache is refreshed; otherwise the cached value is used.
| capability | Capability to look for. |