MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / appStateToString

Function appStateToString

Tactility/Source/service/loader/Loader.cpp:28–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26extern const ServiceManifest manifest;
27
28static const char* appStateToString(app::State state) {
29 switch (state) {
30 using enum app::State;
31 case Initial:
32 return "initial";
33 case Created:
34 return "started";
35 case Showing:
36 return "showing";
37 case Hiding:
38 return "hiding";
39 case Destroyed:
40 return "stopped";
41 default:
42 return "?";
43 }
44}
45
46void LoaderService::onStartAppMessage(const std::string& id, app::LaunchId launchId, std::shared_ptr<const Bundle> parameters) {
47 LOGGER.info("Start by id {}", id);

Callers 1

transitionAppToStateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected