Exam4Training

When a developer uses HarmonyOS Device Manager, he wrote the following code, which code description is correct?

When a developer uses HarmonyOS Device Manager, he wrote the following code, which code description is correct?

Vardevicelnto=dmInstance.getLocaIDevicelnfoSync () :
A . Obtain the local device information synchronously
B . Asynchronously obtain the list of trusted devices
C . Obtain the list of trusted devices synchronously
D . Asynchronously obtain local device information

Answer: C

Exit mobile version