IBM
C2180-408 · Question #32
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…
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
How the community answered
(25 responses)- A16% (4)
- B8% (2)
- C72% (18)
- D4% (1)
Community Discussion
No community discussion yet for this question.