PrepAway - Latest Free Exam Questions & Answers

You need to enhance the performance of the GetLocationAsync() method of the app

Users report performance issues when getting the location information associated with a photo. You
suspect the app is encountering performance issues in the GetLocationAsync() method of the
Environment class.
You need to enhance the performance of the GetLocationAsync() method of the app.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Remove the Compass initialization from the LoadSensors() method and initialize it within the
GetLocationAsync() method.

B.
set the Reportlnterval property of the Compass object to 16.

C.
set the Reportlnterval property of the Compass object to 0.

D.
Move the locator variable to a class level variable and initialize it in the Environment constructor.

One Comment on “You need to enhance the performance of the GetLocationAsync() method of the app


Leave a Reply