Home
last modified time | relevance | path

Searched refs:JsResult (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkWeb.ts111 …onAlert(callback: (event?: { url: string; message: string; result: JsResult; } | undefined) => boo…
114 …onBeforeUnload(callback: (event?: { url: string; message: string; result: JsResult; } | undefined)…
117 …onConfirm(callback: (event?: { url: string; message: string; result: JsResult; } | undefined) => b…
120 …onPrompt(callback: (event?: { url: string; message: string; value: string; result: JsResult; } | u…
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/recorder/
H A Drecorder_capability_napi.cpp60 asyncCtx->JsResult = std::make_unique<MediaJsAudioRecorderCapsArray>(audioRecorderCaps); in GetAudioRecorderCaps()
111 asyncCtx->JsResult = std::make_unique<MediaJsResultBoolean>(outResult); in IsAudioRecorderConfigSupported()
154 asyncCtx->JsResult = std::make_unique<MediaJsVideoRecorderCapsArray>(videoRecorderCaps); in GetVideoRecorderCaps()
208 … asyncCtx->JsResult = std::make_unique<MediaJsVideoRecorderProfile>(videoRecorderProfile); in GetVideoRecorderProfile()
262 asyncCtx->JsResult = std::make_unique<MediaJsResultBoolean>(outResult); in HasVideoRecorderProfile()
H A Dvideo_recorder_napi.cpp172 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in CreateVideoRecorder()
302 threadCtx->JsResult = std::make_unique<MediaJsResultString>(surfaceId); in GetInputSurface()
H A Daudio_recorder_napi.cpp201 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in CreateAudioRecorderAsync()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/player/
H A Dvideo_callback_napi.cpp141 context->JsResult = std::make_unique<MediaJsResultInt>(position); in OnSeekDoneCb()
162 context->JsResult = std::make_unique<MediaJsResultInt>(context->speedMode); in OnSpeedDoneCb()
179 context->JsResult = std::make_unique<MediaJsResultInt>(bitRate); in OnBitRateDoneCb()
H A Daudio_player_napi.cpp190 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in CreateAudioPlayerAsync()
897 asyncContext->JsResult = std::make_unique<MediaJsResultArray>(audioInfo); in AsyncGetTrackDescription()
H A Dvideo_player_napi.cpp210 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in CreateVideoPlayer()
926 asyncContext->JsResult = std::make_unique<MediaJsResultArray>(videoInfo); in AsyncGetTrackDescription()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/
H A Djs-apidiff-web.md25 …allback: (event?: {url: string, message: string, value: string, result: JsResult }) => boolean): W…
H A Djs-apidiff-arkui.md19 | ArkUI | JsResult | handlePromptConfirm(result: string): void; | 新增 |
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/
H A Djs-apidiff-web.md25 …allback: (event?: {url: string, message: string, value: string, result: JsResult }) => boolean): W…
H A Djs-apidiff-arkui.md19 | ArkUI | JsResult | handlePromptConfirm(result: string): void; | Added|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_napi.cpp194 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVRecorder()
479 asyncCtx->JsResult = std::make_unique<MediaJsResultString>(result.Value().second); in JsGetInputMetaSurface()
577 asyncCtx->JsResult = std::make_unique<MediaJsAVRecorderProfile>(asyncCtx->profile_); in JsGetAVRecorderProfile()
732 asyncCtx->JsResult = std::make_unique<MediaJsAVRecorderConfig>(asyncCtx->config_); in JsGetAVRecorderConfig()
784 … asyncCtx->JsResult = std::make_unique<AudioCaptureChangeInfoJsCallback>(asyncCtx->changeInfo_); in JsGetCurrentAudioCapturerInfo()
835 asyncCtx->JsResult = std::make_unique<MediaJsResultInt>(asyncCtx->maxAmplitude_); in JsGetAudioCapturerMaxAmplitude()
886 asyncCtx->JsResult = std::make_unique<MediaJsEncoderInfo>(asyncCtx->encoderInfo_); in JsGetAvailableEncoder()
1054 … asyncCtx->JsResult = std::make_unique<MediaJsResultBoolean>(asyncCtx->isWatermarkSupported_); in JsIsWatermarkSupported()
1144 asyncCtx->JsResult = std::make_unique<MediaJsResultString>(result.Value().second); in ExecuteByPromise()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/soundpool/src/
H A Dsoundpool_napi.cpp153 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateSoundPool()
204 asyncCtx->JsResult = std::make_unique<MediaJsResultInt>(soundId); in JsLoad()
251 asyncCtx->JsResult = std::make_unique<MediaJsResultInt>(streamId); in JsPlay()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/common/
H A Dcommon_napi.h302 std::unique_ptr<MediaJsResult> JsResult; member
H A Dcommon_napi.cpp780 if (asyncContext->JsResult != nullptr) { in CompleteCallback()
781 asyncContext->JsResult->GetJsResult(env, result); in CompleteCallback()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/metadatahelper/
H A Davimagegenerator_napi.cpp151 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVImageGenerator()
H A Davmetadataextractor_napi.cpp147 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVMetadataExtractor()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/
H A Davscreen_capture_napi.cpp161 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVScreenRecorder()
910 asyncCtx->JsResult = std::make_unique<MediaJsResultString>(result.Value().second); in ExecuteByPromise()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/export/
H A DarkComponent.d.ts1365 result: JsResult;
1370 result: JsResult;
1375 result: JsResult;
1381 result: JsResult;
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_napi.cpp212 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVPlayer()
1357 promiseCtx->JsResult = std::make_unique<AVCodecJsResultFormat>(playbackInfo); in JsGetPlaybackInfo()
2421 … promiseCtx->JsResult = std::make_unique<MediaJsResultArray>(promiseCtx->trackInfoVec_); in JsGetTrackDescription()
2503 promiseCtx->JsResult = std::make_unique<MediaJsResultIntArray>(trackIndex); in JsGetSelectedTracks()
2629 … promiseCtx->JsResult = std::make_unique<MediaJsResultInt>(stoi(result.Value().second)); in JsGetCurrentTrack()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkweb/
H A Dts-basic-components-web.md2915 …弹窗时触发<br>返回值boolean。当回调返回true时,应用可以调用自定义弹窗能力(包括确认和取消),并且需要根据用户的确认或取消操作调用JsResult通知Web组件最终是否离开当前页面。…
2994 …面时触发。<br>返回值boolean。当回调返回true时,应用可以调用自定义弹窗能力(包括确认和取消),并且需要根据用户的确认或取消操作调用JsResult通知Web组件最终是否离开当前页面。…
3073 …告警时触发<br>返回值boolean。当回调返回true时,应用可以调用自定义弹窗能力(包括确认和取消),并且需要根据用户的确认或取消操作调用JsResult通知Web组件最终是否离开当前页面。…
3161 …警时触发。<br>返回值boolean。当回调返回true时,应用可以调用自定义弹窗能力(包括确认和取消),并且需要根据用户的确认或取消操作调用JsResult通知Web组件最终是否离开当前页面。…
6838 ## JsResult section
6846 JsResult的构造函数。
9568 | result | [JsResult](#jsresult) | 是 | 通知Web组件用户操作行为。 |
9580 | result | [JsResult](#jsresult) | 是 | 通知Web组件用户操作行为。 |
9592 | result | [JsResult](#jsresult) | 是 | 通知Web组件用户操作行为。 |
9605 | result | [JsResult](#jsresult) | 是 | 通知Web组件用户操作行为。 |
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avtranscoder/
H A Davtranscoder_napi.cpp197 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVTransCoder()
/ohos5.0/docs/en/application-dev/reference/apis-arkweb/
H A Dts-basic-components-web.md2915 … dialog box (allows the confirm and cancel operations) and invoke the **JsResult** API to instruct…
2994 … dialog box (allows the confirm and cancel operations) and invoke the **JsResult** API to instruct…
3073 … dialog box (allows the confirm and cancel operations) and invoke the **JsResult** API to instruct…
3161 … dialog box (allows the confirm and cancel operations) and invoke the **JsResult** API to instruct…
6838 ## JsResult section
6840 Implements the **JsResult** object, which indicates the result returned to the **Web** component to…
6846 Constructs the **JsResult** object.
9564 | result | [JsResult](#jsresult) | Yes| User operation. |
9576 | result | [JsResult](#jsresult) | Yes| User operation. |
9588 | result | [JsResult](#jsresult) | Yes| User operation. |
[all …]