Home
last modified time | relevance | path

Searched refs:nfcAppStateChangeCallback (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/nfc/services/src/utils/
H A Dapp_state_observer.cpp37 AppStateObserver::AppStateObserver(INfcAppStateObserver *nfcAppStateChangeCallback) in AppStateObserver() argument
40 RegisterAppStateChangeCallback(nfcAppStateChangeCallback); in AppStateObserver()
115 …l AppStateObserver::RegisterAppStateChangeCallback(INfcAppStateObserver *nfcAppStateChangeCallback) in RegisterAppStateChangeCallback() argument
121 if (nfcAppStateChangeCallback == nullptr) { in RegisterAppStateChangeCallback()
125 return appStateAwareObserver_->RegisterAppStateChangeCallback(nfcAppStateChangeCallback); in RegisterAppStateChangeCallback()
145 INfcAppStateObserver *nfcAppStateChangeCallback) in RegisterAppStateChangeCallback() argument
147 if (nfcAppStateChangeCallback == nullptr) { in RegisterAppStateChangeCallback()
151 nfcAppStateChangeCallback_ = nfcAppStateChangeCallback; in RegisterAppStateChangeCallback()
H A Dapp_state_observer.h32 explicit AppStateObserver(INfcAppStateObserver *nfcAppStateChangeCallback);
46 bool RegisterAppStateChangeCallback(INfcAppStateObserver *nfcAppStateChangeCallback);
52 bool RegisterAppStateChangeCallback(INfcAppStateObserver *nfcAppStateChangeCallback);