Class CameraCapabilities

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.Camera.dll
API Level:
4

The CameraCapabilities class provides properties to get various capability information of the camera device.

C#
Copy
public class CameraCapabilities
Inheritance
System.Object
CameraCapabilities

Properties

View Source

IsAntiShakeSupported

Gets the anti-shake feature feature support state.

Declaration
C#
Copy
public bool IsAntiShakeSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsAutoContrastSupported

Gets the auto contrast feature support state.

Declaration
C#
Copy
public bool IsAutoContrastSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsBrigtnessSupported

Gets the brightness feature support state.

Declaration
C#
Copy
public bool IsBrigtnessSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsContinuousCaptureSupported

Gets the continuous capture feature support state.

Declaration
C#
Copy
public bool IsContinuousCaptureSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsExposureSupported

Gets the exposure feature support state.

Declaration
C#
Copy
public bool IsExposureSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsExtraPreviewSupported

Gets the extra preview feature support state.

Declaration
C#
Copy
public bool IsExtraPreviewSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 10
View Source

IsFaceDetectionSupported

Gets the face detection feature support state.

Declaration
C#
Copy
public bool IsFaceDetectionSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsHdrCaptureSupported

Gets the HDR capture feature support state.

Declaration
C#
Copy
public bool IsHdrCaptureSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsHueSupported

Gets the hue feature support state.

Declaration
C#
Copy
public bool IsHueSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 5
View Source

IsMediaPacketPreviewCallbackSupported

Gets the media packet preview callback feature support state.

Declaration
C#
Copy
public bool IsMediaPacketPreviewCallbackSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsPanSupported

Gets the pan feature support state.

Declaration
C#
Copy
public bool IsPanSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsTiltSupported

Gets the tilt feature support state.

Declaration
C#
Copy
public bool IsTiltSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsVideoStabilizationSupported

Gets the video stabilization feature support state.

Declaration
C#
Copy
public bool IsVideoStabilizationSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsZeroShutterLagSupported

Gets the zero shutter lag feature support state.

Declaration
C#
Copy
public bool IsZeroShutterLagSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

IsZoomSupported

Gets the zoom feature support state.

Declaration
C#
Copy
public bool IsZoomSupported { get; }
Property Value
Type Description
Boolean

true if supported, otherwise false.

API Level: 4
View Source

SupportedAutoFocusModes

Retrieves all the auto focus modes supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraAutoFocusMode> SupportedAutoFocusModes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraAutoFocusMode>

It returns a list containing all the supported CameraAutoFocusMode.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedCapturePixelFormats

Retrieves all the capture formats supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraPixelFormat> SupportedCapturePixelFormats { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraPixelFormat>

It returns a list containing all the supported CameraPixelFormat.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedCaptureResolutions

Retrieves all the capture resolutions supported by the camera.

Declaration
C#
Copy
public IEnumerable<Size> SupportedCaptureResolutions { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Size>

It returns a list containing all the supported capture resolutions.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedEffects

Retrieves all the effect modes supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraEffectMode> SupportedEffects { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraEffectMode>

It returns a list containing all the supported CameraEffectMode.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedExposureModes

Retrieves all the exposure modes supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraExposureMode> SupportedExposureModes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraExposureMode>

It returns a list containing all the supported CameraExposureMode.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedFlashModes

Retrieves all the flash modes supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraFlashMode> SupportedFlashModes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraFlashMode>

It returns a list containing all the supported CameraFlashMode.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedIsoLevels

Retrieves all the ISO levels supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraIsoLevel> SupportedIsoLevels { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraIsoLevel>

It returns a list containing all the supported CameraIsoLevel.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedPreviewFps

Retrieves all the fps supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraFps> SupportedPreviewFps { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraFps>

It returns a list containing all the supported CameraFps.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedPreviewPixelFormats

Retrieves all the preview formats supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraPixelFormat> SupportedPreviewPixelFormats { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraPixelFormat>

It returns a list containing all the supported CameraPixelFormat.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedPreviewResolutions

Retrieves all the preview resolutions supported by the camera.

Declaration
C#
Copy
public IEnumerable<Size> SupportedPreviewResolutions { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Size>

It returns a list containing all the supported preview resolutions.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedPtzTypes

Retrieves all the PTZ types by the camera.

Declaration
C#
Copy
public IEnumerable<CameraPtzType> SupportedPtzTypes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraPtzType>

It returns a list containing all the supported CameraPtzType.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedSceneModes

Retrieves all the scene modes supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraSceneMode> SupportedSceneModes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraSceneMode>

It returns a list containing all the supported CameraSceneMode.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedStreamFlips

Retrieves all the flips supported by the camera.

Declaration
C#
Copy
public IEnumerable<Flips> SupportedStreamFlips { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Flips>

It returns a list containing all the supported Flips.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedStreamRotations

Retrieves all the stream rotations supported by the camera.

Declaration
C#
Copy
public IEnumerable<Rotation> SupportedStreamRotations { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Rotation>

An IEnumerable containing all the supported Rotation.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedTheaterModes

Retrieves all the theater modes supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraTheaterMode> SupportedTheaterModes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraTheaterMode>

It returns a list containing all the supported CameraTheaterMode.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
View Source

SupportedWhiteBalances

Retrieves all the white balance modes supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraWhiteBalance> SupportedWhiteBalances { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<CameraWhiteBalance>

It returns a list containing all the supported CameraWhiteBalance.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4

Methods

View Source

GetSupportedPreviewFpsByResolution(Int32, Int32)

Retrieves all the fps by resolution supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraFps> GetSupportedPreviewFpsByResolution(int width, int height)
Parameters
Type Name Description
Int32 width

The width of required preview resolution.

Int32 height

The height of required preview resolution.

Returns
Type Description
System.Collections.Generic.IEnumerable<CameraFps>

It returns a list containing all the supported CameraFps by resolution.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
Feature: http://tizen.org/feature/camera
View Source

GetSupportedPreviewFpsByResolution(Size)

Retrieves all the fps by resolution supported by the camera.

Declaration
C#
Copy
public IEnumerable<CameraFps> GetSupportedPreviewFpsByResolution(Size size)
Parameters
Type Name Description
Size size

The size of required preview resolution.

Returns
Type Description
System.Collections.Generic.IEnumerable<CameraFps>

It returns a list containing all the supported CameraFps by resolution.

Exceptions
Type Condition
ObjectDisposedException

The camera has already been disposed.

API Level: 4
Feature: http://tizen.org/feature/camera