PhotoCamera Class

Inheritance Hierarchy

System.Object
  Microsoft.Devices.Camera
    Microsoft.Devices.PhotoCamera

Namespace:  Microsoft.Devices
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

'Declaration
Public NotInheritable Class PhotoCamera _
    Inherits Camera
public sealed class PhotoCamera : Camera
public ref class PhotoCamera sealed : public Camera
[<Sealed>]
type PhotoCamera =  
    class 
        inherit Camera 
    end

The PhotoCamera type exposes the following members.

Constructors

  Name Description
Public method PhotoCamera()
Public method PhotoCamera(CameraType)

Top

Properties

  Name Description
Public property AvailableResolutions (Inherited from Camera.)
Public property CameraType (Inherited from Camera.)
Public property FlashMode
Public property IsFocusAtPointSupported
Public property IsFocusSupported
Public property Orientation (Inherited from Camera.)
Public property PreviewResolution (Inherited from Camera.)
Public property Resolution (Inherited from Camera.)
Public property YCbCrPixelLayout

Top

Methods

  Name Description
Public method CancelFocus
Public method CaptureImage
Public method Dispose (Inherited from Camera.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Focus
Public method FocusAtPoint
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetPreviewBufferArgb32
Public method GetPreviewBufferY
Public method GetPreviewBufferYCbCr
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsFlashModeSupported
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event AutoFocusCompleted
Public event CaptureCompleted
Public event CaptureImageAvailable
Public event CaptureStarted
Public event CaptureThumbnailAvailable
Public event Initialized (Inherited from Camera.)

Top

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Devices Namespace