Camera Class

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public MustInherit Class Camera _
    Implements IDisposable
public abstract class Camera : IDisposable
public ref class Camera abstract : IDisposable
[<AbstractClass>]
type Camera =  
    class 
        interface IDisposable 
    end

The Camera type exposes the following members.

Properties

  Name Description
Public property AvailableResolutions
Public property CameraType
Public property Orientation
Public property PreviewResolution
Public property Resolution

Top

Methods

  Name Description
Public method Dispose
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize (Overrides Object.Finalize().)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member IsCameraTypeSupported
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event Initialized

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