PhotoCamera.CaptureImageAvailable Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs when an image is available.

Namespace:  Microsoft.Devices
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Event CaptureImageAvailable As EventHandler(Of ContentReadyEventArgs)
public event EventHandler<ContentReadyEventArgs> CaptureImageAvailable
<object CaptureImageAvailable="EventHandler<ContentReadyEventArgs>" .../>

Remarks

To account for the Windows Phone execution model, add the event handler for this event in the OnNavigatedTo(NavigationEventArgs) method. To help release memory related to the camera, remove the event handler for this event in the OnNavigatingFrom(NavigatingCancelEventArgs) method.

For more information about how to implement this member, see How to create a base camera app for Windows Phone 8.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

PhotoCamera Class

Microsoft.Devices Namespace