Huawei HCIP-HarmonyOS Application Developer V1.0 H14-231_V1.0 Question # 60 Topic 7 Discussion

Huawei HCIP-HarmonyOS Application Developer V1.0 H14-231_V1.0 Question # 60 Topic 7 Discussion

H14-231_V1.0 Exam Topic 7 Question 60 Discussion:
Question #: 60
Topic #: 7

If a developer wants to obtain the location information of a HarmonyOS device, which of the following methods is correct?


A.

must apply for ohos.permission.LOCATION_INBACKGROUND permissions and be authorized by the user.


B.

If the application scenario does not require real-time device location, you can obtain the latest historical location result cached by the system


C.

When thereal-time location result of the device is successfully determined by the

system, it will be reported to the application through the onLocationReport interface. Applications can implement their own business logic in the implementation of the onLocationReport API


D.

You can use the system's predefined constant SCENE_TRAJECTORY_TRACKING in a trajectory tracking scene


Get Premium H14-231_V1.0 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.