/interface/sdk_c/multimedia/camera_framework/ |
H A D | photo_output.h | 64 * @brief Photo output frame start callback to be called in {@link PhotoOutput_Callbacks}. 66 * @param photoOutput the {@link Camera_PhotoOutput} which deliver the callback. 72 * @brief Photo output frame shutter callback to be called in {@link PhotoOutput_Callbacks}. 74 * @param photoOutput the {@link Camera_PhotoOutput} which deliver the callback. 75 * @param info the {@link Camera_FrameShutterInfo} which delivered by the callback. 81 * @brief Photo output frame end callback to be called in {@link PhotoOutput_Callbacks}. 83 * @param photoOutput the {@link Camera_PhotoOutput} which deliver the callback. 84 * @param frameCount the frame count which delivered by the callback. 90 * @brief Photo output error callback to be called in {@link PhotoOutput_Callbacks}. 92 * @param photoOutput the {@link Camera_PhotoOutput} which deliver the callback [all...] |
H A D | metadata_output.h | 62 * @brief Metadata output metadata object available callback to be called in {@link MetadataOutput_Callbacks}. 64 * @param metadataOutput the {@link Camera_MetadataOutput} which deliver the callback. 65 * @param metadataObject the {@link Camera_MetadataObject} will be delivered by the callback. 73 * @brief Metadata output error callback to be called in {@link MetadataOutput_Callbacks}. 75 * @param metadataOutput the {@link Camera_MetadataOutput} which deliver the callback. 92 * Metadata output result data will be called by this callback. 103 * @brief Register metadata output change event callback. 106 * @param callback the {@link MetadataOutput_Callbacks} to be registered. 112 MetadataOutput_Callbacks* callback); 115 * @brief Unregister metadata output change event callback [all...] |
H A D | camera_input.h | 62 * @brief Camera input error callback to be called in {@link CameraInput_Callbacks}. 64 * @param cameraInput the {@link Camera_Input} which deliver the callback. 90 * @brief Register camera input change event callback. 93 * @param callback the {@link CameraInput_Callbacks} to be registered. 98 Camera_ErrorCode OH_CameraInput_RegisterCallback(Camera_Input* cameraInput, CameraInput_Callbacks* callback); 101 * @brief Unregister camera input change event callback. 104 * @param callback the {@link CameraInput_Callbacks} to be unregistered. 109 Camera_ErrorCode OH_CameraInput_UnregisterCallback(Camera_Input* cameraInput, CameraInput_Callbacks* callback);
|
H A D | preview_output.h | 62 * @brief Preview output frame start callback to be called in {@link PreviewOutput_Callbacks}. 64 * @param previewOutput the {@link Camera_PreviewOutput} which deliver the callback. 70 * @brief Preview output frame end callback to be called in {@link PreviewOutput_Callbacks}. 72 * @param previewOutput the {@link Camera_PreviewOutput} which deliver the callback. 73 * @param frameCount the frame count which delivered by the callback. 79 * @brief Preview output error callback to be called in {@link PreviewOutput_Callbacks}. 81 * @param previewOutput the {@link Camera_PreviewOutput} which deliver the callback. 114 * @brief Register preview output change event callback. 117 * @param callback the {@link PreviewOutput_Callbacks} to be registered. 123 PreviewOutput_Callbacks* callback); [all...] |
H A D | video_output.h | 62 * @brief Video output frame start callback to be called in {@link VideoOutput_Callbacks}. 64 * @param videoOutput the {@link Camera_VideoOutput} which deliver the callback. 70 * @brief Video output frame end callback to be called in {@link VideoOutput_Callbacks}. 72 * @param videoOutput the {@link Camera_VideoOutput} which deliver the callback. 73 * @param frameCount the frame count which delivered by the callback. 79 * @brief Video output error callback to be called in {@link VideoOutput_Callbacks}. 81 * @param videoOutput the {@link Camera_VideoOutput} which deliver the callback. 114 * @brief Register video output change event callback. 117 * @param callback the {@link VideoOutput_Callbacks} to be registered. 122 Camera_ErrorCode OH_VideoOutput_RegisterCallback(Camera_VideoOutput* videoOutput, VideoOutput_Callbacks* callback); [all...] |
/interface/sdk_c/multimedia/av_session/ |
H A D | native_avsession.h | 240 * @brief Defines enumeration of avsession callback result. 267 * @brief Declaring the callback struct for playback command 276 * @brief Declaring the callback struct for forward command 285 * @brief Declaring the callback struct for rewind command 294 * @brief Declaring the callback struct for seek command 303 * @brief Declaring the callback struct for set loop mode command 312 * @brief Declaring the callback struct for toggle favorite command 481 * @brief Request to register command callback. 485 * @param callback the {@link OH_AVSessionCallback_OnCommand} to be registered. 493 * 2. The param of callback i [all...] |
/interface/sdk_c/multimedia/video_processing_engine/ |
H A D | video_processing.h | 137 * @brief Register callback object. 139 * Register the callback object before starting video processing. 142 * @param callback Callback pointer to be registered. 144 * @return {@link VIDEO_PROCESSING_SUCCESS} if callback is registered successfully. \n 146 * {@link VIDEO_PROCESSING_ERROR_INVALID_PARAMETER} if callback is null. \n 151 const VideoProcessing_Callback* callback, void* userData); 220 * After successfully calling this function, the state {@link VIDEO_PROCESSING_STATE_RUNNING} is reported by callback 236 * reported by callback function {@link OH_VideoProcessing_OnState}. 249 * If the callback function {@link OH_VideoProcessingCallback_OnNewOutputBuffer} is set, the buffer's index is reported 250 * to user by the callback functio [all...] |
/interface/sdk_c/multimodalinput/kits/c/input/ |
H A D | oh_input_manager.h | 282 * @brief Defines a lifecycle callback for keyEvent. If the callback is triggered, keyEvent will be destroyed. 290 * @brief Defines a lifecycle callback for mouseEvent. If the callback is triggered, mouseEvent will be destroyed. 298 * @brief Defines a lifecycle callback for touchEvent. If the callback is triggered, touchEvent will be destroyed. 306 * @brief Defines a lifecycle callback for axisEvent. If the callback is triggered, axisEvent will be destroyed. 314 * @brief Defines the callback for device addition events. 321 * @brief Defines the callback fo [all...] |
/interface/sdk_c/arkui/ace_engine/native/ |
H A D | native_interface_xcomponent.h | 345 /** The minimum frame rate of dynamical callback rate range. */ 347 /** The maximum frame rate of dynamical callback rate range. */ 349 /** The expected frame rate of dynamical callback rate range. */ 541 * @brief Registers a callback for this <b>OH_NativeXComponent</b> instance. 544 * @param callback Indicates the pointer to a surface lifecycle and touch event callback. 549 int32_t OH_NativeXComponent_RegisterCallback(OH_NativeXComponent* component, OH_NativeXComponent_Callback* callback); 552 * @brief Registers a callback for this <b>OH_NativeXComponent</b> instance. 555 * @param callback Indicates the pointer to a mouse event callback [all...] |
H A D | native_type.h | 197 * @brief Defines the event callback type. 204 /** Event callback. */ 205 void (*callback)(void* userData); member 1578 * @brief Enumerates the animation onFinish callback types. 1583 /** The callback is invoked when the entire animation is removed once it has finished. */ 1585 /** The callback is invoked when the animation logically enters the falling state, though it may still be in its 2190 * @brief Defines parameter used by the system font style callback event. 2409 * @param callback Gets the spindle size of the specified Item based on index. 2413 int32_t index, float(*callback)(int32_t itemIndex)); 2422 * @param callback Get [all...] |
H A D | native_animate.h | 62 * @brief Defines the callback type for when the animation playback is complete. 67 /** Type of the <b>onFinish</b> callback. */ 70 void (*callback)(void* userData); member 118 * @brief Defines the animator callback event object. 125 * @brief Defines the callback object when the animator receives a frame. 154 * @param complete Indicates the callback to be invoked when the animation playback is complete. 398 * @brief Sets the callback invoked when the keyframe animation playback is complete. This API is called after the 403 * @param onFinish Indicates the callback. 805 * @brief Sets the callback invoked when the animator receives a frame. 809 * @param callback Indicate [all...] |
/interface/sdk_c/multimedia/media_library/ |
H A D | media_asset_manager_capi.h | 66 * @param callback Called when a requested source is prepared. 71 MediaLibrary_RequestOptions requestOptions, const char* destPath, OH_MediaLibrary_OnDataPrepared callback); 81 * @param callback Called when a requested source is prepared. 86 MediaLibrary_RequestOptions requestOptions, const char* destPath, OH_MediaLibrary_OnDataPrepared callback); 107 * @param callback the {@link OH_MediaLibrary_OnMovingPhotoDataPrepared} that will be called 121 OH_MediaLibrary_OnMovingPhotoDataPrepared callback); 131 * @param callback the {@link OH_MediaLibrary_OnImageDataPrepared} that will be called 145 OH_MediaLibrary_OnImageDataPrepared callback);
|
/interface/sdk_c/web/webview/interfaces/native/ |
H A D | native_interface_arkweb.h | 43 * @brief Defines the javascript callback of the web component. 50 * @brief Defines the javascript proxy callback of the web component. 57 * @brief Defines the valid callback of the web component. 64 * @brief Defines the destroy callback of the web component. 75 * @param callback Callbacks execute JavaScript script results. 80 void OH_NativeArkWeb_RunJavaScript(const char* webTag, const char* jsCode, NativeArkWeb_OnJavaScriptCallback callback); 88 * @param callback The callback function registered by developer is called back when HTML side uses. 89 * @param size The size of the callback. 96 NativeArkWeb_OnJavaScriptProxyCallback* callback, int32_ [all...] |
H A D | arkweb_type.h | 79 * @brief Defines the javascript callback of the native ArkWeb. 87 * @brief Defines the javascript proxy callback of the native ArkWeb. 95 * @brief Defines the component callback of the native ArkWeb. 109 * @brief Defines the callback to receive message from HTML. 132 ArkWeb_OnJavaScriptCallback callback; member 145 /** The callback function registered by developer is called back when HTML side uses. */ 146 ArkWeb_OnJavaScriptProxyCallback callback; member 227 /** Register the OnControllerAttached callback. */ 228 void (*onControllerAttached)(const char* webTag, ArkWeb_OnComponentCallback callback, void* userData); 229 /** Register the OnPageBegin callback [all...] |
/interface/sdk_c/multimedia/player_framework/ |
H A D | native_avscreen_capture.h | 193 * @brief Set the callback function so that your application 197 * @param callback A collection of all callback functions, see {@link OH_AVScreenCaptureCallback} 200 * {@link AV_SCREEN_CAPTURE_ERR_INVALID_VAL} input capture is nullptr or input callback is nullptr. 201 * {@link AV_SCREEN_CAPTURE_ERR_OPERATE_NOT_PERMIT} opertation not be permitted, set callback failed. 206 struct OH_AVScreenCaptureCallback callback); 237 * @brief Set the state callback function so that your application can respond to the 241 * @param callback State callback function, see {@link OH_AVScreenCapture_OnStateChange} 245 * {@link AV_SCREEN_CAPTURE_ERR_INVALID_VAL} input capture is nullptr or input callback i [all...] |
H A D | avplayer.h | 456 * @brief Method to set player callback. 459 * @param callback object pointer. 462 * {@link AV_ERR_INVALID_VAL} if input player is nullptr, callback.onInfo or callback.onError is null, 469 OH_AVErrCode OH_AVPlayer_SetPlayerCallback(OH_AVPlayer *player, AVPlayerCallback callback); 525 * @brief Method to set player media key system info callback. 528 * @param callback object pointer. 537 Player_MediaKeySystemInfoCallback callback); 569 * @brief Method to set player information notify callback. 572 * @param callback Pointe [all...] |
/interface/sdk_c/multimedia/audio_framework/audio_manager/ |
H A D | native_audio_routing_manager.h | 61 * @brief This function pointer will point to the callback function that 186 * @brief Register the device change callback of the audio routing manager. 190 * @param deviceFlag the {@link OH_AudioDevice_DeviceFlag} which is used to register callback. 191 * @param callback the {@link OH_AudioRoutingManager_OnDeviceChangedCallback} 198 * 3.The param of callback is nullptr. 203 OH_AudioRoutingManager_OnDeviceChangedCallback callback); 206 * @brief Unregister the device change callback of the audio routing manager. 210 * @param callback the {@link OH_AudioRoutingManager_OnDeviceChangedCallback} 216 * 2.The param of callback is nullptr. 221 OH_AudioRoutingManager_OnDeviceChangedCallback callback); [all...] |
H A D | native_audio_session_manager.h | 129 * @brief This function pointer will point to the callback function that 192 * @brief Register the audio session deactivated event callback. 196 * @param callback the {@link #OH_AudioSession_DeactivatedCallback} which is used 203 OH_AudioSessionManager *audioSessionManager, OH_AudioSession_DeactivatedCallback callback); 206 * @brief Unregister the audio session deactivated event callback. 210 * @param callback the {@link #OH_AudioSession_DeactivatedCallback} which is used 217 OH_AudioSessionManager *audioSessionManager, OH_AudioSession_DeactivatedCallback callback);
|
/interface/sdk_c/multimedia/audio_framework/common/ |
H A D | native_audiostreambuilder.h | 203 * @param userData Pointer to an application data structure that will be passed to the callback functions. 214 * @brief Set the callback when the output device of an audio renderer changed. 219 * @param callback Callback to the function that will process this device change event. 220 * @param userData Pointer to an application data structure that will be passed to the callback functions. 228 OH_AudioRenderer_OutputDeviceChangeCallback callback, void* userData); 253 * @param userData Pointer to an application data structure that will be passed to the callback functions. 298 * Set the data frame size for each callback, use this function if the application requires a specific number 306 * @param frameSize The data frame size for each callback. 315 * @brief Set the callback of writing metadata to the renderer client 320 * @param callback Callbac [all...] |
/interface/sdk_c/graphic/graphic_2d/native_vsync/ |
H A D | native_vsync.h | 74 * @brief Request next vsync with callback.
75 * If you call this interface multiple times in one frame, it will only call the last callback.
79 * @param callback Indicates the OH_NativeVSync_FrameCallback which will be called when next vsync coming.
80 * @param data Indicates data which will be used in callback.
82 * {@link NATIVE_ERROR_INVALID_ARGUMENTS} 40001000 - the parameter nativeVsync is NULL or callback is NULL.
87 int OH_NativeVSync_RequestFrame(OH_NativeVSync* nativeVsync, OH_NativeVSync_FrameCallback callback, void* data);
90 * @brief Request next vsync with callback.
95 * @param callback Indicates the OH_NativeVSync_FrameCallback which will be called when next vsync coming.
96 * @param data Indicates data which will be used in callback.
98 * {@link NATIVE_ERROR_INVALID_ARGUMENTS} 40001000 - the parameter nativeVsync is NULL or callback i [all...] |
/interface/sdk_c/multimedia/av_codec/ |
H A D | native_avdemuxer.h | 187 * @brief Method to set player media key system info callback. 190 * @param callback object pointer. 197 DRM_MediaKeySystemInfoCallback callback); 200 * @brief Method to set player media key system info callback. 203 * @param callback object pointer. 210 Demuxer_MediaKeySystemInfoCallback callback);
|
H A D | native_avcodec_videodecoder.h | 81 * @brief Set the asynchronous callback function so that your application can respond to the events 85 * @param callback A collection of all callback functions, see {@link OH_AVCodecAsyncCallback} 98 OH_AVErrCode OH_VideoDecoder_SetCallback(OH_AVCodec *codec, OH_AVCodecAsyncCallback callback, void *userData); 101 * @brief Set the asynchronous callback function so that your application can respond to the events 105 * @param callback A collection of all callback functions, see {@link OH_AVCodecCallback} 116 OH_AVErrCode OH_VideoDecoder_RegisterCallback(OH_AVCodec *codec, OH_AVCodecCallback callback, void *userData); 207 * indexes previously reported through the asynchronous callback will be invalidated, make sure not to access 268 * @brief Submit the input buffer filled with data to the video decoder. The {@link OH_AVCodecOnNeedInputData} callback [all...] |
H A D | native_avcodec_videoencoder.h | 89 * @brief Set the asynchronous callback function so that your application can respond to the events generated by the 93 * @param callback A collection of all callback functions, see {@link OH_AVCodecAsyncCallback} 106 OH_AVErrCode OH_VideoEncoder_SetCallback(OH_AVCodec *codec, OH_AVCodecAsyncCallback callback, void *userData); 109 * @brief Set the asynchronous callback function so that your application can respond to the events generated by the 113 * @param callback A collection of all callback functions, see {@link OH_AVCodecCallback} 124 OH_AVErrCode OH_VideoEncoder_RegisterCallback(OH_AVCodec *codec, OH_AVCodecCallback callback, void *userData); 127 * @brief Set the asynchronous callback function so that your application can respond to the events generated by the 133 * @param onInputParameter A callback function [all...] |
/interface/sdk-js/build-tools/api_check_plugin/ |
H A D | index.js | 48 function updatePermissionConfig(url, callback) { 63 callback(requestText);
|
/interface/sdk_c/multimedia/drm_framework/ |
H A D | native_mediakeysession.h | 81 * Normal event callback like key expired etc.. 85 * Key change callback for keys change event. 123 * Normal event callback like key expired etc.. 127 * Key change callback for keys change event. 266 * @brief Set media key session event callback. 268 * @param callback Callback to be set to the media key session. 275 MediaKeySession_Callback *callback); 278 * @brief Set media key session event callback. 280 * @param callback Callback to be set to the media key session. 287 OH_MediaKeySession_Callback *callback); [all...] |