Free Huawei H14-231_V1.0 Exam Questions (page: 30)

If a developer wants to stop the service in a Service, which of the following APIs needs to be called?

  1. terminateAbility()
  2. stopAbility()
  3. connectAbility()
  4. startAbility()

Answer(s): A



When the Page of Harmony OS executes the onForeground() callback, which of the following states will the Page return to first?

  1. INITIAL
  2. INACTIVE
  3. ACTIVE
  4. BACKGROUND

Answer(s): B



If there are 3 Ability sharing a Service instance, how can I exit the Service instance?

  1. Ability does not need to quit
  2. All abilities bound to the Service instance are exited
  3. has 1 Ability to exit
  4. has 2 Ability exits

Answer(s): B



When an engineer needs to add the function of recording video when developing an application, which of the following interfaces should be called?

  1. Recorder
  2. Coder
  3. Extractor
  4. Player

Answer(s): A



Viewing page 30 of 176



Post your Comments and Discuss Huawei H14-231_V1.0 exam prep with other Community members:

H14-231_V1.0 Exam Discussions & Posts