nerdexam
IBM

C2180-408 · Question #32

C2180-408 Question #32: Real Exam Question with Answer & Explanation

The correct answer is C. Within an adapter, use WL.Server.getClientDeviceContext() to determine if the doctor is in an. See the full explanation below for the reasoning.

Question

A mobile application developer needs to create an application for a hospital that will only allow a doctor access to medical records while inside the hospital. How can the mobile application developer accomplish this task using Worklight APIs?

Options

  • AOn the device, use WL.Client.isInsidePolygon() to determine if the doctor is in the hospital, then
  • BOn the device, use a PositionChange trigger to signal when the user moves into a different area,
  • CWithin an adapter, use WL.Server.getClientDeviceContext() to determine if the doctor is in an
  • DWithin an adapter, add event listeners WL.Events.GEOFENCE_ENTER and

Community Discussion

No community discussion yet for this question.

Full C2180-408 Practice