nerdexam
IBM

C2180-279 · Question #88

Before submitting a long form, an application needs to explicitly detect that the device is connected to the Worklight server. How can this be done?

The correct answer is C. Use WL.Client.invokeProcedure() to a procedure and then handle the submission of the form in. See the full explanation below for the reasoning.

Question

Before submitting a long form, an application needs to explicitly detect that the device is connected to the Worklight server. How can this be done?

Options

  • AAdd an event listener to WL.Events.WORKLIGHT_IS_CONNECTED and handle the submission
  • BAdd an event listener to WL.Events.WORKLIGHT_IS_DISCONNECTED and handle the
  • CUse WL.Client.invokeProcedure() to a procedure and then handle the submission of the form in
  • DUse WL.Device.getNetworkInfo() and handle the submission of the form in the callback after

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    14% (4)
  • C
    76% (22)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full C2180-279 Practice