O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CaptureSourceViewModel

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required