# StopPhotoModeAsync(OnPhotoModeStoppedCallback)

> Asynchronously stops photo mode.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Windows.WebCam](/engine/6000.5/script-reference/unityengine/windows/webcam.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public void StopPhotoModeAsync(PhotoCapture.OnPhotoModeStoppedCallback onPhotoModeStoppedCallback)
```

### Parameters

**** (\[OnPhotoModeStoppedCallback]\(/engine/6000.5/script-reference/unityengine/windows/webcam/photocapture/onphotomodestoppedcallback)): This callback will be invoked once photo mode has been deactivated.
