If you are in control of the audio/video on the device at this point (via MediaElement
or BackgroundAudioPlayer
), then play/pause events will be raised in your code via MediaElement
or BackgroundAudioPlayer
.
If you are not in control of the audio/video, then it is not possible to capture these events.