Home
last modified time | relevance | path

Searched refs:PlayerCallbackImpl (Results 1 – 3 of 3) sorted by relevance

/base/web/webview/ohos_adapter/media_adapter/include/
Dplayer_framework_adapter_impl.h23 class PlayerCallbackImpl : public Media::PlayerCallback {
25 explicit PlayerCallbackImpl(std::unique_ptr<PlayerCallbackAdapter> callback);
27 ~PlayerCallbackImpl() = default;
/base/web/webview/ohos_adapter/media_adapter/src/
Dplayer_framework_adapter_impl.cpp141 PlayerCallbackImpl::PlayerCallbackImpl(std::unique_ptr<PlayerCallbackAdapter> callback) in PlayerCallbackImpl() function in OHOS::NWeb::PlayerCallbackImpl
145 void PlayerCallbackImpl::OnInfo(Media::PlayerOnInfoType type, int32_t extra, const Media::Format& i… in OnInfo()
156 void PlayerCallbackImpl::OnError(int32_t errorCode, const std::string& errorMsg) in OnError()
190 auto callback = std::make_shared<PlayerCallbackImpl>(std::move(callbackAdapter)); in SetPlayerCallback()
/base/web/webview/test/unittest/ohos_adapter/media_adapter_test/
Dplayer_framework_adapter_impl_test.cpp138 std::shared_ptr<PlayerCallbackImpl> playerCallback_ = nullptr;
147 playerCallback_ = std::make_shared<PlayerCallbackImpl>(std::move(callbackTest)); in PlayerCallbackImplTest()