Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
active_service.cc File Reference
#include "symbian/api/system/active_service.h"
#include <absl/base/nullability.h>
#include <absl/status/status_macros.h>
#include "native_active_service.h"
#include "symbian/native_status.h"

Namespaces

namespace  symbian
 
namespace  symbian::api
 
namespace  symbian::api::system
 

Functions

absl::Status symbian::api::system::RunActiveService (std::int32_t category, std::uint32_t stop_key, const std::function< absl::Status()> &start, const std::function< void()> &on_stop, const std::function< void()> &on_ready)
 Run a service on the calling thread's native active scheduler.
 
absl::Status symbian::api::system::RequestActiveServiceStop (std::int32_t category, std::uint32_t stop_key)
 Request an active service to stop from another guest thread.
 
void symbian::api::system::StopActiveService ()
 Stop the current thread's active service from its event callback.
 

Variable Documentation

◆ on_ready

const std::function<void()>& on_ready

◆ on_stop

const std::function<void()>& on_stop

◆ start

const std::function<absl::Status()>& start

◆ start_status

absl::Status start_status