You are developing a Windows Store app by using JavaScript. The app will create media
files and copy them to a removable storage device.
If the storage device becomes unavailable while files are being copied, the copy operation
must resume after the device becomes available.
You need to ensure that the app can subscribe to device updates.
Which code segment should you use?
A.
Option A
B.
Option B
C.
Option C
D.
Option D