/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkWeb.ts | 111 …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 D | recorder_capability_napi.cpp | 60 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 D | video_recorder_napi.cpp | 172 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in CreateVideoRecorder() 302 threadCtx->JsResult = std::make_unique<MediaJsResultString>(surfaceId); in GetInputSurface()
|
H A D | audio_recorder_napi.cpp | 201 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in CreateAudioRecorderAsync()
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/player/ |
H A D | video_callback_napi.cpp | 141 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 D | audio_player_napi.cpp | 190 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in CreateAudioPlayerAsync() 897 asyncContext->JsResult = std::make_unique<MediaJsResultArray>(audioInfo); in AsyncGetTrackDescription()
|
H A D | video_player_napi.cpp | 210 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 D | js-apidiff-web.md | 25 …allback: (event?: {url: string, message: string, value: string, result: JsResult }) => boolean): W…
|
H A D | js-apidiff-arkui.md | 19 | ArkUI | JsResult | handlePromptConfirm(result: string): void; | 新增 |
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-web.md | 25 …allback: (event?: {url: string, message: string, value: string, result: JsResult }) => boolean): W…
|
H A D | js-apidiff-arkui.md | 19 | ArkUI | JsResult | handlePromptConfirm(result: string): void; | Added|
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avrecorder/ |
H A D | avrecorder_napi.cpp | 194 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 D | soundpool_napi.cpp | 153 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 D | common_napi.h | 302 std::unique_ptr<MediaJsResult> JsResult; member
|
H A D | common_napi.cpp | 780 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 D | avimagegenerator_napi.cpp | 151 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVImageGenerator()
|
H A D | avmetadataextractor_napi.cpp | 147 asyncContext->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVMetadataExtractor()
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/ |
H A D | avscreen_capture_napi.cpp | 161 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 D | arkComponent.d.ts | 1365 result: JsResult; 1370 result: JsResult; 1375 result: JsResult; 1381 result: JsResult;
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_napi.cpp | 212 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 D | ts-basic-components-web.md | 2915 …弹窗时触发<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 D | avtranscoder_napi.cpp | 197 asyncCtx->JsResult = std::make_unique<MediaJsResultInstance>(constructor_); in JsCreateAVTransCoder()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkweb/ |
H A D | ts-basic-components-web.md | 2915 … 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 …]
|