The viewmodel contains the following three commands:

Image TakePhotoCommand

Image ToggleVideoCaptureCommand

Image PlayVideoCommand

TakePhotoCommand uses the CaptureSource to save a still image to isolated storage. ToggleVideoCaptureCommand starts and stops the recording of video and initially causes the CaptureSource to be attached to a FileSink object so that a video file is written to isolated storage.

The commands are instantiated in the ...

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.