AudioVideoCaptureDevice.OpenForVideoOnlyAsync method

Applies to Windows Phone only

Creates a new AudioVideoCaptureDevice object for capturing video (without audio).

Syntax


public:
static IAsyncOperation<AudioVideoCaptureDevice>^ OpenForVideoOnlyAsync(
  CameraSensorLocation sensor, 
  Size initialResolution
)

Parameters

sensor

Type: CameraSensorLocation

The location of the camera on the phone (front or back).

initialResolution

Type: Size

The initial capture resolution.

Return value

Type: IAsyncOperation<AudioVideoCaptureDevice>

The new AudioVideoCaptureDevice object.

Remarks

The initial preview resolution is selected automatically and optimized for the resolution of the phone that is running your app. It maintains the same aspect ratio as the initial capture resolution.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

Windows.Phone.Media.Capture
Windows::Phone::Media::Capture [C++]

Metadata

Windows.winmd

Capabilities

ID_CAP_ISV_CAMERA [Windows Phone]
ID_CAP_MICROPHONE [Windows Phone]

See also

AudioVideoCaptureDevice

 

 

Community Additions

ADD
Show:
© 2014 Microsoft