IBM Exam Questions

Which API should be used?

A developer wants to write a push notification application where the message will be sent to a
specific subscriber on a specific device. Which API should be used?

A.
WL.Server.notifyAllDevices(userSubscription, options)

B.
WL.Client.notifyDevice(userSubscription, device, options)

C.
WL.Server.notifyDevice(userSubscription, device, options)

D.
WL.Server.notifyDeviceSubscription(deviceSubscription, options)

Explanation: