ExamGecko
Question list
Search
Search

Related questions











Question 383 - H14-231_V1.0 discussion

Report
Export

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.
Answers
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
Answers
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 the real-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
Answers
C.
When the real-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
Answers
D.
You can use the system's predefined constant SCENE_TRAJECTORY_TRACKING in a trajectory tracking scene
Suggested answer: B, C, D
asked 18/09/2024
Jose Osnayo
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first