Home
last modified time | relevance | path

Searched refs:NotifyMode (Results 1 - 3 of 3) sorted by relevance

/foundation/multimedia/media_library/interfaces/kits/js/include/
H A Dmedia_asset_data_handler.h42 enum class NotifyMode : int32_t { class
64 void SetNotifyMode(NotifyMode trigger);
65 NotifyMode GetNotifyMode();
80 NotifyMode notifyMode_ = NotifyMode::FAST_NOTIFY;
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_asset_data_handler.cpp72 void NapiMediaAssetDataHandler::SetNotifyMode(NotifyMode notifyMode) in SetNotifyMode()
77 NotifyMode NapiMediaAssetDataHandler::GetNotifyMode() in GetNotifyMode()
H A Dmedia_asset_manager_napi.cpp226 static AssetHandler* InsertDataHandler(NotifyMode notifyMode, napi_env env, in InsertDataHandler()
231 if (notifyMode == NotifyMode::FAST_NOTIFY) { in InsertDataHandler()
255 case NotifyMode::FAST_NOTIFY: { in InsertDataHandler()
259 case NotifyMode::WAIT_FOR_HIGH_QUALITY: { in InsertDataHandler()
284 static void DeleteDataHandler(NotifyMode notifyMode, const std::string &requestUri, const std::string &requestId) in DeleteDataHandler()
288 if (notifyMode == NotifyMode::WAIT_FOR_HIGH_QUALITY) { in DeleteDataHandler()
650 InsertDataHandler(NotifyMode::WAIT_FOR_HIGH_QUALITY, env, asyncContext); in RegisterTaskObserver()
1038 AssetHandler *assetHandler = InsertDataHandler(NotifyMode::FAST_NOTIFY, env, asyncContext); in NotifyDataPreparedWithoutRegister()
1182 NotifyMode notifyMode = dataHandler->GetNotifyMode(); in OnDataPrepared()
1183 if (notifyMode == NotifyMode in OnDataPrepared()
[all...]

Completed in 4 milliseconds