CameraPreviewImageSource.StopPreviewAsync Method

Stops the preview.

When app is suspended the CameraPreviewImageSource must be stopped by calling StopPreviewAsync. When the app is resumed the CameraPreviewImageSource must be restarted by calling InitializeAsync followed by StartPreviewAsync.

Namespace: Lumia.Imaging
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

Syntax

public IAsyncAction StopPreviewAsync()
'Declaration
Public Function StopPreviewAsync As IAsyncAction
public:
virtual IAsyncAction^ StopPreviewAsync() sealed
function StopPreviewAsync();

Return Value

Type: IAsyncAction
An async action, which completes when the stop preview is done.

Version Information

Lumia Imaging SDK

Supported in: 3.0, 2.0

See Also

CameraPreviewImageSource Class

CameraPreviewImageSource.CameraPreviewImageSource Members

Lumia.Imaging Namespace