/// <summary>
/// Initializes a new instance of the <see cref="Camera"/> Class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="device">The camera device to access</param>
public Camera(CameraDevice device)
{
return _handle;
}
-#region Dispose support
+ #region Dispose support
/// <summary>
/// Release any unmanaged resources used by this object.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
Dispose(true);
{
_state = state;
}
-#endregion Check camera state
+ #endregion Check camera state
-#region EventHandlers
+ #region EventHandlers
/// <summary>
/// Event that occurs when an camera is interrupted by policy.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<CameraInterruptedEventArgs> Interrupted;
private Native.InterruptedCallback _interruptedCallback;
/// <summary>
/// Event that occurs when there is an asynchronous error.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<CameraErrorOccurredEventArgs> ErrorOccurred;
private Native.ErrorCallback _errorCallback;
/// <summary>
/// Event that occurs when the auto focus state is changed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<CameraFocusStateChangedEventArgs> FocusStateChanged;
private Native.FocusStateChangedCallback _focusStateChangedCallback;
/// <summary>
/// Event that occurs when a face is detected in preview frame.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<FaceDetectedEventArgs> FaceDetected;
private Native.FaceDetectedCallback _faceDetectedCallback;
/// <summary>
/// Event that occurs during capture of image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<CameraCapturingEventArgs> Capturing;
private Native.CapturingCallback _capturingCallback;
/// <summary>
/// Event that occurs after the capture of the image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<EventArgs> CaptureCompleted;
private Native.CaptureCompletedCallback _captureCompletedCallback;
/// Event that occurs when there is change in HDR capture progress.
/// Check whether HdrCapture feature is supported or not before add this EventHandler.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<HdrCaptureProgressEventArgs> HdrCaptureProgress;
private Native.HdrCaptureProgressCallback _hdrCaptureProgressCallback;
/// <summary>
/// Event that occurs when camera state is changed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<CameraStateChangedEventArgs> StateChanged;
private Native.StateChangedCallback _stateChangedCallback;
/// User doesn't need to create camera instance.
/// This static EventHandler calls platform function every time because each callback function have to remain its own callbackId.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="callback">Callback of type <see cref="Native.DeviceStateChangedCallback"/>.</param>
/// <param name="callbackId">The Id of registered callback.</param>
/// <exception cref="InvalidOperationException">In case of any invalid operations</exception>
/// Event that occurs once per frame when previewing.
/// Preview callback is registered when user add callback explicitly to avoid useless P/Invoke.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<PreviewEventArgs> Preview
{
add
/// Event that occurs once per frame when previewing.
/// Preview callback is registered when user add callback explicitly to avoid useless P/Invoke.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<MediaPacketPreviewEventArgs> MediaPacketPreview
{
add
}
}
}
- #endregion MediaPacketPreview EventHandler
+ #endregion MediaPacketPreview EventHandler
-#endregion EventHandlers
+ #endregion EventHandlers
-#region Properties
+ #region Properties
/// <summary>
/// Get/Set the various camera settings.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraSettings Setting { get; }
/// <summary>
/// Gets the various camera features.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraFeatures Feature { get; }
/// <summary>
/// Get/set various camera display properties.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraDisplaySettings DisplaySettings{ get; }
private Display _display;
/// Sets or gets the display type and handle to show preview images.
/// The camera must be in the <see cref="CameraState.Created"/> state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// This must be set before StartPreview() method.
/// In Custom ROI display mode, DisplayRoiArea property must be set before calling this method.
/// <summary>
/// Gets the state of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value> None, Created, Preview, Capturing, Captured </value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraState State
/// If the hint is set to true, the display will be reused when the camera device is changed with
/// ChangeDevice method.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ArgumentException">In case of invalid parameters.</exception>
/// <exception cref="InvalidOperationException">Invalid state.</exception>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
/// <summary>
/// Gets the facing direction of camera module.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraFacingDirection"/> that specifies the facing direction of camera device.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraFacingDirection Direction
/// <summary>
/// Gets the camera device count.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>This returns 2, if the device supports primary and secondary cameras.
/// Otherwise 1, if the device only supports primary camera.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
/// <summary>
/// Changes the camera device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="device">The hardware camera to access.</param>
/// <remarks>
/// If display reuse is set using <see cref="DisplayReuseHint"/>
/// <summary>
/// Gets the device state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="device">The device to get state.</param>
/// <returns>Returns the state of camera device</returns>
/// <exception cref="ArgumentException">In case of invalid parameters.</exception>
/// <summary>
/// Gets the flash state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="device">The device to get state.</param>
/// <returns>Returns the flash state of camera device</returns>
/// <exception cref="ArgumentException">In case of invalid parameters.</exception>
/// before using this method.
/// The camera must be in the <see cref="CameraState.Created"/> or <see cref="CameraState.Captured"/> state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/camera
/// </privilege>
/// Stops capturing and drawing preview frames on the screen.
/// The camera must be in the <see cref="CameraState.Preview"/> state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/camera
/// </privilege>
/// and for completed using <see cref="CaptureCompleted"/> before calling this method.
/// The camera must be in the <see cref="CameraState.Preview"/> state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/camera
/// </privilege>
/// and for completed using <see cref="CaptureCompleted"/> before calling this method.
/// The camera must be in the <see cref="CameraState.Preview"/> state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/camera
/// </privilege>
/// Starts camera auto-focusing, asynchronously.
/// The camera must be in the <see cref="CameraState.Preview"/> or <see cref="CameraState.Captured"/> state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="continuous">Continuous auto focus</param>
/// <privilege>
/// http://tizen.org/privilege/camera
/// Stops camera auto focusing.
/// The camera must be in the <see cref="CameraState.Preview"/> or <see cref="CameraState.Captured"/> state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/camera
/// </privilege>
/// Starts face detection.
/// The camera must be in the <see cref="CameraState.Preview"/> state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/camera
/// </privilege>
/// <summary>
/// Stops face detection.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>
/// http://tizen.org/privilege/camera
/// </privilege>
/// <summary>
/// The image data of the captured picture.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ImageData Image { get; }
/// <summary>
/// The image data of the postview.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ImageData PostView { get; }
/// <summary>
/// The image data of the thumbnail.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public ImageData Thumbnail { get; }
}
}
/// <summary>
/// Camera device type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraDevice Device { get; }
/// <summary>
/// Current state of the camera device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraDeviceState State { get; }
}
}
/// <summary>
/// The display mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraDisplayMode"/> that specifies the display mode.</value>
/// <exception cref="ObjectDisposedException" > The camera already has been disposed.</exception>
public CameraDisplayMode Mode
/// The display visibility.
/// True if camera display visible, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException" > The camera already has been disposed.</exception>
public bool Visible
{
/// <summary>
/// The display rotation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraRotation"/> that specifies the rotation of camera device.</value>
/// <exception cref="ObjectDisposedException" > The camera already has been disposed.</exception>
public CameraRotation Rotation
/// <summary>
/// The display flip.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraFlip"/> that specifies camera flip type.</value>
/// <exception cref="ObjectDisposedException" > The camera already has been disposed.</exception>
public CameraFlip Flip
/// <summary>
/// the ROI(Region Of Interest) area of display.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException" > The camera already has been disposed.</exception>
public Rectangle RoiArea
{
/// <summary>
/// Enumeration for Camera device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraDevice
{
/// <summary>
/// <summary>
/// Enumeration for Camera device state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraDeviceState
{
/// <summary>
/// <summary>
/// Enumeration for the facing direction of camera module .
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraFacingDirection
{
/// <summary>
/// <summary>
/// Enumeration for the current flash state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraFlashState
{
/// <summary>
/// <summary>
/// Enumeration for the camera flip type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraFlip
{
/// <summary>
/// <summary>
/// Enumeration for the camera focus state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraFocusState
{
/// <summary>
/// <summary>
/// Enumeration for the camera pixel format.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraPixelFormat
{
/// <summary>
/// <summary>
/// Enumeration for the camera policy.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraPolicy
{
/// <summary>
/// <summary>
/// Enumeration for the camera rotation type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraRotation
{
/// <summary>
/// <summary>
/// Enumeration for the camera state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraState
{
/// <summary>
/// <summary>
/// Enumeration for the auto focus mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraAutoFocusMode
{
/// <summary>
/// <summary>
/// Enumeration for the color tone, which provides the impression of looking through a tinted glass.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraEffectMode
{
/// <summary>
/// <summary>
/// Enumeration for the camera exposure modes.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraExposureMode
{
/// <summary>
/// <summary>
/// Enumeration for the flash mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraFlashMode
{
/// <summary>
/// <summary>
/// Enumeration for preview FPS.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraFps
{
/// <summary>
/// <summary>
/// Enumeration for HDR capture mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraHdrMode
{
/// <summary>
/// <summary>
/// Enumeration for the ISO levels of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraIsoLevel
{
/// <summary>
/// <summary>
/// Enumeration for PTZ(Pan Tilt Zoom) movement type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraPtzMoveType
{
/// <summary>
/// <summary>
/// Enumeration for PTZ(Pan Tilt Zoom) type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraPtzType
{
/// <summary>
/// <summary>
/// Enumeration for the camera scene mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraSceneMode
{
/// <summary>
/// <summary>
/// Enumeration for the orientation values of tag.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraTagOrientation
{
/// <summary>
/// <summary>
/// Enumeration for the theater mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraTheaterMode
{
/// <summary>
/// <summary>
///Enumeration for the white balance levels of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraWhiteBalance
{
/// <summary>
/// <summary>
/// Enumeration for the camera display mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraDisplayMode
{
/// <summary>
/// <summary>
/// Enumeration for camera failure error.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CameraErrorCode
{
/// <summary>
/// <summary>
/// Enumeration for Image datatype.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum PlaneType
{
/// <summary>
/// <summary>
/// The camera error code.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraErrorCode Error { get; }
/// <summary>
/// The state of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraState State { get; }
}
}
/// Gets the face detection feature's supported state.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsFaceDetectionSupported { get; }
/// <summary>
/// Gets the media packet preview callback feature's supported state.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsMediaPacketPreviewCallbackSupported { get; }
/// <summary>
/// Gets the zero shutter lag feature's supported state.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsZeroShutterLagSupported { get; }
/// <summary>
/// Gets continuous capture feature's supported state.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsContinuousCaptureSupported { get; }
/// <summary>
/// Gets the support state of HDR capture.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsHdrCaptureSupported { get; }
/// <summary>
/// Gets the support state of the anti-shake feature.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsAntiShakeSupported { get; }
/// <summary>
/// Gets the support state of the video stabilization feature.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsVideoStabilizationSupported { get; }
/// <summary>
/// Gets the support state of auto contrast feature.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsAutoContrastSupported { get; }
/// <summary>
/// Gets the support state of brightness feature.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsBrigtnessSupported { get; }
/// <summary>
/// Gets the support state of exposure feature.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsExposureSupported { get; }
/// <summary>
/// Gets the support state of zoom feature.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsZoomSupported { get; }
/// <summary>
/// Gets the support state of pan feature.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsPanSupported { get; }
/// <summary>
/// Gets the support state of tilt feature.
/// true if supported, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool IsTiltSupported { get; }
/// <summary>
/// Retrieves all the preview resolutions supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported preview resolutions.
/// by recorder.
/// <summary>
/// Retrieves all the capture resolutions supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported capture resolutions.
/// </returns>
/// <summary>
/// Retrieves all the capture formats supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraPixelFormat"/>.
/// </returns>
/// <summary>
/// Retrieves all the preview formats supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraPixelFormat"/>.
/// </returns>
/// <summary>
/// Retrieves all the fps supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraFps"/>.
/// </returns>
/// <summary>
/// Retrieves all the fps by resolution supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraFps"/> by resolution.
/// </returns>
/// <summary>
/// Retrieves all the fps by resolution supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraFps"/> by resolution.
/// </returns>
/// <summary>
/// Retrieves all the auto focus modes supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraAutoFocusMode"/>.
/// </returns>
/// <summary>
/// Retrieves all the exposure modes supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraExposureMode"/>.
/// </returns>
/// <summary>
/// Retrieves all the Iso level supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraIsoLevel"/>.
/// </returns>
/// <summary>
/// Retrieves all the theater modes supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraTheaterMode"/>.
/// </returns>
/// <summary>
/// Retrieves all the whitebalance modes supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraWhiteBalance"/>.
/// </returns>
/// <summary>
/// Retrieves all the flash modes supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraFlashMode"/>.
/// </returns>
/// <summary>
/// Retrieves all the scene modes supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraSceneMode"/>.
/// </returns>
/// <summary>
/// Retrieves all the effect modes supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraEffectMode"/>.
/// </returns>
/// <summary>
/// Retrieves all the stream rotation supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraRotation"/>.
/// </returns>
/// <summary>
/// Retrieves all the flips supported by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraFlip"/>.
/// </returns>
/// <summary>
/// Retrieves all the ptz types by the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>
/// It returns a list containing all the supported <see cref="CameraPtzType"/>.
/// </returns>
/// <summary>
/// Focus state of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraFocusState State { get; }
}
}
/// <summary>
/// Previous state of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraState Previous { get; }
/// <summary>
/// Current state of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraState Current { get; }
/// <summary>
/// The policy that interrupted the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraPolicy Policy { get; }
}
}
/// <summary>
/// Sets auto focus area.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// <see cref="CameraAutoFocusMode"/> should not be the <see cref="CameraAutoFocusMode.None"/>.
/// </remarks>
/// <summary>
/// Sets auto focus area.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// <see cref="CameraAutoFocusMode"/> should not be the <see cref="CameraAutoFocusMode.None"/>.
/// </remarks>
/// <summary>
/// Clears the auto focus area.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public void ClearFocusArea()
{
/// <summary>
/// The auto focus mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraAutoFocusMode"/> that specifies the auto focus mode.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraAutoFocusMode AutoFocusMode
/// <summary>
/// The contrast level of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public int Contrast
{
/// The auto contrast.
/// If true auto contrast is enabled, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public bool AutoContrast
{
/// <summary>
/// Gets the available contrast level.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// If min value is greater than the max value, it means this feature is not supported.
/// </remarks>
/// <summary>
/// The brightness level of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public int Brightness
{
/// <summary>
/// Gets the available brightness level.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// If min value is greater than the max value, it means this feature is not supported.
/// </remarks>
/// <summary>
/// The exposure value.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public int Exposure
{
/// <summary>
/// The exposure mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraExposureMode"/> that specifies the exposure mode.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraExposureMode ExposureMode
/// <summary>
/// Gets the available exposure value.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// If min value is greater than the max value, it means this feature is not supported.
/// </remarks>
/// The zoom level.
/// The range for zoom level is received from ZoomRange property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public int ZoomLevel
{
/// <summary>
/// Gets the available zoom level.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// If min value is greater than the max value, it means this feature is not supported.
/// </remarks>
/// <summary>
/// The whitebalance mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraWhiteBalance"/> that specifies the white balance mode.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraWhiteBalance WhiteBalance
/// <summary>
/// The ISO level.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraIsoLevel"/> that specifies ISO level.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraIsoLevel IsoLevel
/// The quality of the image.
/// The range for image quality is 1 to 100.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public int ImageQuality
{
/// <summary>
/// The preview frame rate.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraFps"/> that specifies preview frame rate.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraFps PreviewFps
/// <summary>
/// Gets or sets the resolution of preview
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ArgumentException">In case of invalid parameters.</exception>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public Size PreviewResolution
/// <summary>
/// Gets the recommended preview resolution.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// Depending on the capture resolution aspect ratio and display resolution,
/// the recommended preview resolution is determined.
/// <summary>
/// The preview data format.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraPixelFormat"/> that specifies the pixel format of preview data.</value>
/// <exception cref="ArgumentException">In case of invalid parameters.</exception>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
/// <summary>
/// Resolution of the captured image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ArgumentException">In case of invalid parameters</exception>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public Size CaptureResolution
/// <summary>
/// Format of an image to be captured.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraPixelFormat"/> that specifies the pixel format of captured image.</value>
/// <exception cref="ArgumentException">In case of invalid parameters</exception>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
/// <summary>
/// The bit rate of encoded preview.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public int EncodedPreviewBitrate
{
/// <summary>
/// GOP(Group Of Pictures) interval of encoded preview.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public int EncodedPreviewGopInterval
{
/// <summary>
/// The theater mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraTheaterMode"/> that specifies theater mode.</value>
/// <remarks>
/// If you want to display the preview image on the external display with the full screen mode,
/// <summary>
/// The camera effect mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraEffectMode"/> that specifies effect mode.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraEffectMode Effect
/// <summary>
/// The scene mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraSceneMode"/> that specifies scene mode.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraSceneMode SceneMode
/// <summary>
/// The camera's flash mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraFlashMode"/> that specifies flash mode.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraFlashMode FlashMode
/// <summary>
/// Gets the camera lens orientation angle.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public int LensOrientation
{
/// <summary>
/// The stream rotation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraRotation"/> that specifies the rotation of camera device.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraRotation StreamRotation
/// <summary>
/// The stream flip.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraFlip"/> that specifies camera flip type.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraFlip StreamFlip
/// <summary>
/// The mode of HDR(High dynamic range) capture.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraHdrMode"/> that specifies the HDR mode.</value>
/// <remarks>
/// Taking multiple pictures at different exposure levels and intelligently stitching them together
/// The anti shake feature.
/// If true the antishake feature is enabled, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public bool AntiShake
{
/// Enables/Disables the video stabilization feature.
/// If true video stabilization is enabled, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// If video stabilization is enabled, zero shutter lag is disabled.
/// This feature is used to record a video.
/// Disables shutter sound.
/// If true shutter sound is disabled, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// In some countries, this operation is not permitted.
/// </remarks>
/// <summary>
/// Sets the type of PTZ(Pan Tilt Zoom). Mechanical or Electronic.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>A <see cref="CameraPtzType"/> that specifies the type of PTZ.</value>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraPtzType PtzType
/// <summary>
/// Sets the position to move horizontally.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="type">ptz move type. <seealso cref="CameraPtzMoveType"/></param>
/// <param name="panStep">pan step</param>
/// <exception cref="ArgumentException">In case of invalid parameters</exception>
/// <summary>
/// Gets the current position of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>Returns the camera's horizontal position</returns>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public int GetPan()
/// <summary>
/// Sets the position to move vertically.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="type">ptz move type</param>
/// <param name="tiltStep">tilt step</param>
/// <exception cref="ArgumentException">In case of invalid parameters</exception>
/// <summary>
/// Gets the current position of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>Returns the current vertical position</returns>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public int GetTilt()
/// <summary>
/// Gets lower limit and upper limit for pan position.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// If min value is greater than the max value, it means this feature is not supported.
/// </remarks>
/// <summary>
/// Gets lower limit and upper limit for tilt position.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <remarks>
/// If min value is greater than the max value, it means this feature is not supported.
/// </remarks>
/// The scene mode.
/// true if EXIF tags are enabled in JPEG file, otherwise false.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public bool EnableTag
{
/// <summary>
/// The camera image description in the EXIF tag.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public string ImageDescriptionTag
{
/// <summary>
/// The software information in the EXIF tag.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public string SoftwareTag
{
/// <summary>
/// The geotag(GPS data) in the EXIF tag.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public Location GeoTag
{
/// <summary>
/// Removes the geotag(GPS data) in the EXIF(Exchangeable image file format) tag.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public void RemoveGeoTag()
{
/// <summary>
/// The camera orientation in the tag.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="ObjectDisposedException">The camera already has been disposed.</exception>
public CameraTagOrientation OrientationTag
{
/// <summary>
/// Previous state of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraState Previous { get; }
/// <summary>
/// Current state of the camera.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraState Current { get; }
/// <summary>
/// true if the state changed by policy such as Resource Conflict or Security, otherwise false
/// in normal state change.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool ByPolicy { get; }
}
}
/// <summary>
/// The Y plane data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public byte[] Y { get; }
/// <summary>
/// The UV plane data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public byte[] UV { get; }
}
}
\ No newline at end of file
/// <summary>
/// The buffer containing encoded image data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public byte[] Data { get; }
}
}
\ No newline at end of file
/// <summary>
/// List containing faces of type <see cref="Tizen.Multimedia.FaceDetectionData"/>.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public IEnumerable<FaceDetectionData> Faces { get; }
}
}
/// <summary>
/// The Id of each face.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Id { get; }
/// <summary>
/// The confidence level for the detection of the face.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Score { get; }
/// <summary>
/// The X co-ordinate of the face.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int X { get; }
/// <summary>
/// The Y co-ordinate of the face.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Y { get; }
/// <summary>
/// The width of the face.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Width { get; }
/// <summary>
/// The height of the face.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Height { get; }
}
}
/// <summary>
/// Hdr Capture progress in percent.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Percent { get; }
}
}
/// <summary>
/// The pixel format of the captured image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraPixelFormat Format { get; }
/// <summary>
/// The width of the image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Width { get; }
/// <summary>
/// The height of the image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Height { get; }
/// <summary>
/// The buffer containing image data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public byte[] Data { get; }
/// <summary>
/// String containing Exif data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public byte[] Exif { get; }
}
}
/// <summary>
/// The Latitude data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public double Latitude { get; }
/// <summary>
/// The Longitude data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public double Longitude { get; }
/// <summary>
/// The Altitude data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public double Altitude { get; }
}
}
/// <summary>
/// Media Packet data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public MediaPacket Packet { get; }
}
}
/// <summary>
/// The pixel format of the image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public CameraPixelFormat Format { get; }
/// <summary>
/// The width of the image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Width { get; }
/// <summary>
/// The height of the image.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int Height { get; }
/// <summary>
- /// The time of capture of the image.
+ /// The timestamp of preview frame.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public uint TimeStamp { get; }
+ /// <summary>
+ /// The buffer including preview frame.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public IPreviewPlane Plane { get; }
+ /// <summary>
+ /// The type of preview plane. <see cref="Tizen.Multimedia.PlaneType"/>
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PlaneType PlaneType { get; }
}
}
\ No newline at end of file
/// <summary>
/// PreviewData frame.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PreviewData Preview { get; }
}
}
/// <summary>
/// The YUV plane data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public byte[] Data { get; }
}
}
\ No newline at end of file
/// <summary>
/// The Y plane data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public byte[] Y { get; }
/// <summary>
/// The U plane data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public byte[] U { get; }
/// <summary>
/// The V plane data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public byte[] V { get; }
}
}
\ No newline at end of file