Searched refs:foregroundCallback (Results 1 - 4 of 4) sorted by relevance
/foundation/ability/ability_runtime/frameworks/cj/ffi/ |
H A D | cj_application_state_change_callback.cpp | 49 int32_t CjApplicationStateChangeCallback::Register(std::function<void(void)> foregroundCallback, in Register() argument 58 foregroundCallbacks_.emplace(callbackId, foregroundCallback); in Register()
|
H A D | cj_application_state_change_callback.h | 32 int32_t Register(std::function<void(void)> foregroundCallback, std::function<void(void)> backgroundCallback);
|
H A D | cj_application_context.h | 72 int32_t OnOnApplicationStateChange(void (*foregroundCallback)(void), 101 CJ_EXPORT int32_t FfiCJApplicationContextOnOnApplicationStateChange(int64_t id, void (*foregroundCallback)(void),
|
H A D | cj_application_context.cpp | 464 int32_t CJApplicationContext::OnOnApplicationStateChange(void (*foregroundCallback)(void), in OnOnApplicationStateChange() argument 475 return applicationStateCallback_->Register(CJLambda::Create(foregroundCallback), in OnOnApplicationStateChange() 479 int32_t callbackId = applicationStateCallback_->Register(CJLambda::Create(foregroundCallback), in OnOnApplicationStateChange() 608 int32_t FfiCJApplicationContextOnOnApplicationStateChange(int64_t id, void (*foregroundCallback)(void), in FfiCJApplicationContextOnOnApplicationStateChange() argument 617 return context->OnOnApplicationStateChange(foregroundCallback, backgroundCallback, errCode); in FfiCJApplicationContextOnOnApplicationStateChange()
|
Completed in 2 milliseconds