Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Pass H14-231_V1.0 Exam Guide

Page: 33 / 52
Total 695 questions

HCIP-HarmonyOS Application Developer V1.0 Questions and Answers

Question 129

Which of the following methods can jump to a new page and destroy the current page?

Options:

A.

router.pushUrl( )

B.

router.replaceUrl( )

C.

router.back( )

D.

router.clear( )

Question 130

If the HarmonyOS user displays the navigation information on the mobile phone and the smart watchat the same time, if the smart watch is out of power, causing the navigation information to stop displaying, which callback will the navigation app on the mobile phone distribute to receive the termination notification?

Options:

A.

onCompleteContinuation

B.

onRemoteTerminated

C.

onSaveData

D.

onRestoreData

Question 131

A PageA contains Ability SliceA1 and AbilitySliceA2, which is displayed as AbilitySliceA1 by default. What are the following steps if you want to navigate directly to PageA's AbilitySliceA2 in PageB on the current device?

Options:

A.

Add a route for AbilitySliceA2via addActionRoute() in PageA

B.

Register the action corresponding to PageA in the configuration file

C.

Set the action in the Intent of the PageB navigation

D.

Set Deviceld to empty in the Intent of the PageB navigation

Question 132

Which of the following NFC functions can developers use when developing apps based on HarmonyOS?

Options:

A.

NFC message notification

B.

Access to the security element

C.

card emulation

D.

NFC basic query

Page: 33 / 52
Total 695 questions