Captures a photo to a random-access stream.
Syntax
mediaCapture.capturePhotoToStreamAsync(type, stream).done( /* Your success and error handlers */ );
Parameters
- type
-
Type: ImageEncodingProperties
The encoding properties for the output image.
- stream
-
Type: IRandomAccessStream
The stream where the image data is written.
Return value
Type: IAsyncAction
Returns an IAsyncAction object that is used to control the asynchronous operation.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
|
Capabilities |
|
See also
Build date: 12/4/2012