Related questions
Question 372 - H14-231_V1.0 discussion
In the HarmonyOS distributed application scenario of multi-device collaboration, device A is often required to start and stop the service of device B, for example, start and stop the music playback of device B on device A. In the process of starting and stopping a Service, the following statement is correct
A.
The onStart() method will only be called back once by the system during the lifetime of the Service
B.
Every time you start the Service method, onCommand() will be called back by the system
C.
can call the method terminateAbility() or stopAbility() to stop the Service
D.
Service---Once it is running, it can be easily stopped or destroyed by the system
Your answer:
0 comments
Sorted by
Leave a comment first