nerdexam
IBM

P2180-031 · Question #41

How can the developer declare what to do when a response from Worklight adapter is received?

The correct answer is C. By specifying the callback function names in onSuccess and onFailure properties of an options. See the full explanation below for the reasoning.

Question

How can the developer declare what to do when a response from Worklight adapter is received?

Options

  • ADeveloper does not have to declare it. Client side framework code will do everything automatically
  • BBy specifying the callback function names in adapter's XML file
  • CBy specifying the callback function names in onSuccess and onFailure properties of an options
  • DBy adding the callback function names as an invocation parameters

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    5% (2)
  • C
    82% (31)
  • D
    11% (4)

Community Discussion

No community discussion yet for this question.

Full P2180-031 Practice