Home
last modified time | relevance | path

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

/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_callback.cpp411 std::shared_ptr<AutoRef> propertyIntRef = callback.lock(); variable
412 CHECK_AND_RETURN_LOG(propertyIntRef != nullptr,
416 napi_open_handle_scope(propertyIntRef->env_, &scope);
420 napi_close_handle_scope(propertyIntRef->env_, scope);
424 napi_status status = napi_get_reference_value(propertyIntRef->env_, propertyIntRef->cb_, &jsCallback);
429 napi_create_object(propertyIntRef->env_, &args[0]);
431 CommonNapi::SetPropertyInt32(propertyIntRef->env_, args[0], it.first, it.second);
435 status = napi_call_function(propertyIntRef->env_, nullptr, jsCallback, 1, args, &result);

Completed in 3 milliseconds