Related questions
Question 383 - H14-231_V1.0 discussion
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 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
Your answer:
0 comments
Sorted by
Leave a comment first