The HarmonyOS video module supports the development of video services and the opening of the ecosystem, allowing developers to easily play, operate, and develop new functions of video media through the open interfaces. Video playback includes playback controls, playback settings, and playback queries, such as start/stop playback, playback speed settings, and whether to loop playback.
When developing a video playback feature, which of the following steps is correct?
A . Create a Player instance→ construct a data source object and set the media source → call method prepare(), →call method play(), call method stop(→→ call method release()
B . Create a Player instance → call the prepare() → play() → construct the data source object and set the media source→ call the stop() → release().
C . Construct a data source object and set the media source→ create a Player instance→ call method play(), →call method prepare(), →call method stop(→ call method release()
D . Call the prepare() method → create a Plawer instance→ construct a data source object and set the media source → call method→ create a Player instance, Play() → call method stop() → call method release()
Answer: A
Latest H14-231_V1.0-ENU Dumps Valid Version with 695 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund