/ohos5.0/docs/zh-cn/application-dev/media/audio/ |
H A D | using-audiohaptic-for-playback.md | 67 console.info(`Promise returned to indicate that start playing successfully.`); 69 console.error(`Failed to start playing. ${err}`); 77 console.info(`Promise returned to indicate that stop playing successfully.`); 79 console.error(`Failed to stop playing. ${err}`);
|
/ohos5.0/docs/en/application-dev/reference/apis-audio-kit/ |
H A D | js-apis-inner-multimedia-ringtonePlayer-sys.md | 3 The **ringtonePlayer** module provides APIs for playing, configuring, and obtaining system ringtone… 257 Starts playing the ringtone. This API uses an asynchronous callback to return the result. 276 console.error(`Failed to start playing ringtone. ${err}`); 287 Starts playing the ringtone. This API uses a promise to return the result. 307 console.error(`Failed to start playing ringtone. ${err}`); 315 Stops playing the ringtone. This API uses an asynchronous callback to return the result. 334 console.error(`Failed to stop playing ringtone. ${err}`); 345 Stops playing the ringtone. This API uses a promise to return the result. 365 console.error(`Failed to stop playing ringtone. ${err}`); 467 console.info('Force paused. Update playing status and stop writing'); [all …]
|
H A D | js-apis-audioHaptic.md | 362 Starts playing the audio and haptic source. This API uses a promise to return the result. 389 console.info(`Promise returned to indicate that start playing successfully.`); 391 console.error(`Failed to start playing. ${err}`); 399 Stops playing the audio-haptic source. This API uses a promise to return the result. 424 console.info(`Promise returned to indicate that stop playing successfully.`); 426 console.error(`Failed to stop playing. ${err}`); 551 console.info('Force paused. Update playing status and stop writing'); 556 console.info('Force stopped. Update playing status and stop writing'); 624 console.info('Force paused. Update playing status and stop writing'); 629 console.info('Force stopped. Update playing status and stop writing');
|
/ohos5.0/docs/en/application-dev/graphics3d/ |
H A D | arkgraphics3D-animation.md | 5 …make the model. ArkGraphics 3D provides the capability of extracting and playing animations from g… 24 - **stop**: stops playing an animation and sets its progress to **0** (not started). 25 - **finish**: finishes the playing of an animation and sets its progress of **1** (finished). 26 - **pause**: pauses an animation. The animation remains in the current playing progress.
|
/ohos5.0/docs/en/application-dev/media/audio/ |
H A D | using-audiohaptic-for-playback.md | 67 console.info(`Promise returned to indicate that start playing successfully.`); 69 console.error(`Failed to start playing. ${err}`); 77 console.info(`Promise returned to indicate that stop playing successfully.`); 79 console.error(`Failed to stop playing. ${err}`);
|
H A D | audio-playback-concurrency.md | 3 … affecting user experience. For example, when a video starts playing while music is playing in the… 47 When an application stops playing or recording audio, the system automatically releases audio focus… 65 - When a Movie stream starts playing, the Music stream that is playing will be paused. When the Mov… 66 - When a Navigation stream starts playing, the Music stream that is playing will be ducked. When th… 68 - When a VoiceCommunication stream starts playing, the Music stream that is playing will be paused.… 69 - When a VoiceMessage stream starts playing, the Music stream that is playing will be paused. When … 143 …- **INTERRUPT_HINT_DUCK**: The audio stream should lower its volume but continue playing, defaulti… 195 …ended that the application continue to play the audio stream and switch to the audio playing state. 203 … // If calling start() is successful, the application needs to switch to the audio playing state. 205 … processing indicating several operations for switching the application to the audio playing state. [all …]
|
H A D | using-toneplayer-for-playback.md | 3 …playing and managing Dual Tone Multi Frequency (DTMF) tones, such as dial tones, ringback tones, s… 67 3. Start DTMF tone playing. 126 // Start DTMF tone playing.
|
H A D | using-right-streamusage-and-sourcetype.md | 63 - When a Navigation stream starts playing, the Music stream that is playing will be ducked. After t… 65 - When a Movie stream starts playing, the Music stream that is playing will be stopped. When the Mo… 67 - When a VoiceCommunication stream starts, the Music stream that is playing will be paused. When th… 71 - When a VoiceMessage stream starts, the Music stream that is playing will be paused. When the Voic…
|
H A D | distributed-audio-playback.md | 31 …lectOutputDevice** to select a remote device, on which all the audio streams will continue playing. 73 …iceByFilter** to select a remote device, on which the specified audio stream will continue playing.
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-audio-kit/ |
H A D | js-apis-audioHaptic.md | 389 console.info(`Promise returned to indicate that start playing successfully.`); 391 console.error(`Failed to start playing. ${err}`); 424 console.info(`Promise returned to indicate that stop playing successfully.`); 426 console.error(`Failed to stop playing. ${err}`); 551 console.info('Force paused. Update playing status and stop writing'); 556 console.info('Force stopped. Update playing status and stop writing'); 624 console.info('Force paused. Update playing status and stop writing'); 629 console.info('Force stopped. Update playing status and stop writing');
|
H A D | js-apis-inner-multimedia-ringtonePlayer-sys.md | 276 console.error(`Failed to start playing ringtone. ${err}`); 307 console.error(`Failed to start playing ringtone. ${err}`); 334 console.error(`Failed to stop playing ringtone. ${err}`); 365 console.error(`Failed to stop playing ringtone. ${err}`); 467 console.info('Force paused. Update playing status and stop writing'); 472 console.info('Force stopped. Update playing status and stop writing');
|
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/ |
H A D | js-apis-inner-multimedia-soundPool-sys.md | 3 The **SoundPool** module provides APIs for loading, unloading, playing, and stopping playing system…
|
/ohos5.0/docs/zh-cn/application-dev/media/media/ |
H A D | using-avplayer-for-playback.md | 14 …eference/apis-media-kit/js-apis-media.md#avplayerstate9)。当播放处于prepared / playing / paused / comple… 113 case 'playing': // play成功调用后触发该状态机上报 114 console.info('AVPlayer state playing called.'); 125 console.info('AVPlayer playing wait to pause');
|
H A D | video-playback.md | 17 …eference/apis-media-kit/js-apis-media.md#avplayerstate9)。当播放处于prepared / playing / paused / comple… 47 …| startRenderFrame | 用于视频播放,监听视频播放首帧渲染时间。<br/>当AVPlayer首次起播进入playing状态后,等到首帧视频画面被渲染到显示画面时,将上报该事件。应… 126 case 'playing': // play成功调用后触发该状态机上报 127 console.info('AVPlayer state playing called.');
|
/ohos5.0/docs/en/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-bluetooth-a2dp.md | 62 Obtains the playing state of a device. 109 Enumerates the A2DP playing states. 115 | STATE_NOT_PLAYING | 0x0000 | Not playing. |
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | drawable__descriptor_8h.md | 36 …iptor) \*drawableDescriptor) | Obtains an array of **PixelMap** objects for playing an animation. | 37 …iptor) \*drawableDescriptor) | Obtains an array of **PixelMap** objects for playing an animation. |
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | toss_animation_controller.cpp | 209 void TextPickerTossAnimationController::SetTossPlaying(bool playing) in SetTossPlaying() argument 211 isTossPlaying_ = playing; in SetTossPlaying()
|
H A D | toss_animation_controller.h | 69 void SetTossPlaying(bool playing);
|
/ohos5.0/docs/en/application-dev/media/media/ |
H A D | using-soundpool-for-playback.md | 11 …coding), setting playback parameters (loop mode, and playback priority), playing the sound, stoppi… 56 3. Call **on('playFinished')** to listen for the completion of sound playing. 191 13. Call **off('playFinished')** to stop listening for the completion of sound playing. 262 // Set the listener when the sound finishes playing. 264 // Callback invoked when the sound finishes playing.
|
H A D | playback-url-setting-method.md | 11 **Case 1: playing HTTP/HTTPS media assets** 19 **Case 2: playing HLS media assets (VOD/live streaming)** 41 **Case 4: playing an online streaming media asset by parsing an M3U8 file in the local raw file fol… 77 **Case 5: playing an online streaming media asset by parsing an M3U8 file in the application sandbo…
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | serviceability-overview.md | 4 …erviceAbility for short) is used to run tasks in the background, such as playing music or download…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics3d/ |
H A D | js-apis-inner-scene-resources.md | 213 Pauses the animation. The animation remains in the current playing progress. 314 Stops playing the animation and sets its progress to **0** (not started). 328 // Stop playing the animation and set its progress to 0 (not started). 338 Finishes the playing of the animation and sets its progress of **1** (finished). 351 // Finish the playing of the animation and set its progress of **1** (finished).
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-multimedia.md | 462 …te = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>废弃版本:N/A|类名:AudioState<br>方法 or 属… 463 …te = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>废弃版本:N/A|类名:AudioState<br>方法 or 属… 464 …te = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>废弃版本:N/A|类名:AudioState<br>方法 or 属… 465 …te = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>废弃版本:N/A|类名:AudioState<br>方法 or 属… 466 …te = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>废弃版本:N/A|类名:AudioState<br>方法 or 属… 467 … \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>废弃版本:N/A|类名:VideoPlayState<br>方法 or 属性:type … 468 … \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>废弃版本:N/A|类名:VideoPlayState<br>方法 or 属性:type … 469 … \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>废弃版本:N/A|类名:VideoPlayState<br>方法 or 属性:type … 470 … \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>废弃版本:N/A|类名:VideoPlayState<br>方法 or 属性:type … 471 … \| 'playing' \| 'paused' \| 'stopped' \| 'error';<br>废弃版本:N/A|类名:VideoPlayState<br>方法 or 属性:type … [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | ui-js-components-image-animator.md | 58 …he animation), and **fillmode** (style of the target when the animation is not playing) attributes. 148 …playing; the pause event is triggered when the image animator is clicked; the resume event is trig…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-media-kit/ |
H A D | js-apis-media.md | 681 case 'playing': 682 console.info('state playing called'); 1052 console.info('Succeeded in playing'); 1087 console.info('Succeeded in playing'); 1097 暂停播放音视频资源,只能在playing状态调用。使用callback方式异步获取返回值。 1135 暂停播放音视频资源,只能在playing状态调用。通过Promise获取返回值。 2806 | 'playing' | 正在播放状态,在prepared/paused/completed状态调用[play()](#play9)方法,AVPla… 5859 | 'playing' | 音频正在播放,play成功后处于此状态。 | 6047 console.info('Succeeded in playing!'); 6075 console.info('Succeeded in playing'); [all …]
|