CaptureSourceViewModel
The viewmodel contains the following three commands:
TakePhotoCommand
ToggleVideoCaptureCommand
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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.