[Camera] Remove useless set of properties
authorHaesu Gwon <haesu.gwon@samsung.com>
Tue, 21 Feb 2017 07:20:14 +0000 (16:20 +0900)
committerHaesu Gwon <haesu.gwon@samsung.com>
Tue, 21 Feb 2017 07:20:14 +0000 (16:20 +0900)
Change-Id: Ie176ffec3764f67c6a5659a349e3483088361955
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
14 files changed:
packaging/csapi-multimedia.spec
src/Tizen.Multimedia/Camera/Area.cs [changed mode: 0644->0755]
src/Tizen.Multimedia/Camera/Camera.cs
src/Tizen.Multimedia/Camera/CameraErrorOccurredEventArgs.cs [changed mode: 0644->0755]
src/Tizen.Multimedia/Camera/CameraFeature.cs [changed mode: 0644->0755]
src/Tizen.Multimedia/Camera/CameraFocusChangedEventArgs.cs [changed mode: 0644->0755]
src/Tizen.Multimedia/Camera/CameraInterruptedEventArgs.cs [changed mode: 0644->0755]
src/Tizen.Multimedia/Camera/CameraSetting.cs [changed mode: 0644->0755]
src/Tizen.Multimedia/Camera/CameraStateChangedEventArgs.cs [changed mode: 0644->0755]
src/Tizen.Multimedia/Camera/CapturingEventArgs.cs [changed mode: 0644->0755]
src/Tizen.Multimedia/Camera/HdrCaptureProgressEventArgs.cs [changed mode: 0644->0755]
src/Tizen.Multimedia/Camera/Location.cs [changed mode: 0644->0755]
src/Tizen.Multimedia/Camera/MediaPacketPreviewEventArgs.cs [changed mode: 0644->0755]
src/Tizen.Multimedia/Camera/PreviewEventArgs.cs [changed mode: 0644->0755]

index fcc011f..3a5e7d4 100644 (file)
@@ -1,6 +1,6 @@
 Name:       csapi-multimedia
 Summary:    Tizen Multimedia API for C#
-Version:    1.0.31
+Version:    1.0.32
 Release:    0
 Group:      Development/Libraries
 License:    Apache-2.0
old mode 100644 (file)
new mode 100755 (executable)
index c7f34f0..87678e6
@@ -14,8 +14,6 @@
  * limitations under the License.
  */
 
-using System;
-
 namespace Tizen.Multimedia
 {
     /// <summary>
index 2b67e75..5aec528 100755 (executable)
@@ -683,7 +683,7 @@ namespace Tizen.Multimedia
         /// http://tizen.org/privilege/camera
         /// </privilege>
         /// <param name="device">The device to get state.</param>
-        /// <returns>Returns the camera's horizontal position</returns>
+        /// <returns>Returns the state of camera device</returns>
         /// <exception cref="ArgumentException">In case of invalid parameters</exception>
         /// <exception cref="InvalidOperationException">In case of any invalid operations</exception>
         /// <exception cref="NotSupportedException">In case of this feature is not supported</exception>
old mode 100644 (file)
new mode 100755 (executable)
index 4212797..aef6ab2
@@ -33,20 +33,12 @@ namespace Tizen.Multimedia
         /// <summary>
         /// The camera error code.
         /// </summary>
-        public CameraErrorCode Error
-        {
-            get;
-            private set;
-        }
+        public CameraErrorCode Error { get; }
 
         /// <summary>
         /// The state of the camera.
         /// </summary>
-        public CameraState State
-        {
-            get;
-            private set;
-        }
+        public CameraState State { get; }
     }
 }
 
old mode 100644 (file)
new mode 100755 (executable)
index 995c8c1..9c024ea
@@ -72,7 +72,7 @@ namespace Tizen.Multimedia
         /// Gets continuous capture feature's supported state.
         /// true if supported, otherwise false.
         /// </summary>
-        public bool ContinuousCapture
+        public bool ContinuousCaptureSupport
         {
             get
             {
@@ -94,7 +94,7 @@ namespace Tizen.Multimedia
         /// Gets the face detection feature's supported state.
         /// true if supported, otherwise false.
         /// </summary>
-        public bool FaceDetectionSupported
+        public bool FaceDetectionSupport
         {
             get
             {
@@ -116,7 +116,7 @@ namespace Tizen.Multimedia
         /// Gets the zero shutter lag feature's supported state.
         /// true if supported, otherwise false.
         /// </summary>
-        public bool ZeroShutterLag
+        public bool ZeroShutterLagSupport
         {
             get
             {
@@ -138,7 +138,7 @@ namespace Tizen.Multimedia
         /// Gets the media packet preview callback feature's supported state.
         /// true if supported, otherwise false.
         /// </summary>
-        public bool MediaPacketPreviewCallback
+        public bool MediaPacketPreviewCallbackSupport
         {
             get
             {
@@ -160,7 +160,7 @@ namespace Tizen.Multimedia
         /// Gets the support state of HDR capture.
         /// true if supported, otherwise false.
         /// </summary>
-        public bool HdrCapture
+        public bool HdrCaptureSupport
         {
             get
             {
@@ -182,7 +182,7 @@ namespace Tizen.Multimedia
         /// Gets the support state of the anti-shake feature.
         /// true if supported, otherwise false.
         /// </summary>
-        public bool AntiShake
+        public bool AntiShakeSupport
         {
             get
             {
@@ -204,7 +204,7 @@ namespace Tizen.Multimedia
         /// Gets the support state of the video stabilization feature.
         /// true if supported, otherwise false.
         /// </summary>
-        public bool VideoStabilization
+        public bool VideoStabilizationSupport
         {
             get
             {
@@ -226,7 +226,7 @@ namespace Tizen.Multimedia
         /// Gets state of support of auto contrast feature.
         /// true if supported, otherwise false.
         /// </summary>
-        public bool AutoContrast
+        public bool AutoContrastSupport
         {
             get
             {
old mode 100644 (file)
new mode 100755 (executable)
index 175d995..518ac75
@@ -32,11 +32,7 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Focus state of the camera.
         /// </summary>
-        public CameraFocusState State
-        {
-            get;
-            private set;
-        }
+        public CameraFocusState State { get; }
     }
 }
 
old mode 100644 (file)
new mode 100755 (executable)
index 0b04112..fe3b081
@@ -34,29 +34,17 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Previous state of the camera.
         /// </summary>
-        public CameraState Previous
-        {
-            get;
-            private set;
-        }
+        public CameraState Previous { get; }
 
         /// <summary>
         /// Current state of the camera.
         /// </summary>
-        public CameraState Current
-        {
-            get;
-            private set;
-        }
+        public CameraState Current { get; }
 
         /// <summary>
         /// The policy that interrupted the camera.
         /// </summary>
-        public CameraPolicy Policy
-        {
-            get;
-            private set;
-        }
+        public CameraPolicy Policy { get; }
     }
 }
 
old mode 100644 (file)
new mode 100755 (executable)
old mode 100644 (file)
new mode 100755 (executable)
index 9f9f986..48a53da
@@ -34,30 +34,18 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Previous state of the camera.
         /// </summary>
-        public CameraState Previous
-        {
-            get;
-            private set;
-        }
+        public CameraState Previous { get; }
 
         /// <summary>
         /// Current state of the camera.
         /// </summary>
-        public CameraState Current
-        {
-            get;
-            private set;
-        }
+        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>
-        public bool ByPolicy
-        {
-            get;
-            private set;
-        }
+        public bool ByPolicy { get; }
     }
 }
 
old mode 100644 (file)
new mode 100755 (executable)
index d54977a..983b0f1
@@ -33,29 +33,17 @@ namespace Tizen.Multimedia
         /// <summary>
         /// The image data of the captured picture.
         /// </summary>
-        public ImageData Image
-        {
-            get;
-            internal set;
-        }
+        public ImageData Image { get; }
 
         /// <summary>
         /// The image data of the postview.
         /// </summary>
-        public ImageData PostView
-        {
-            get;
-            internal set;
-        }
+        public ImageData PostView { get; }
 
         /// <summary>
         /// The image data of the thumbnail.
         /// </summary>
-        public ImageData Thumbnail
-        {
-            get;
-            internal set;
-        }
+        public ImageData Thumbnail { get; }
     }
 }
 
old mode 100644 (file)
new mode 100755 (executable)
index 95cb428..ce508c2
@@ -31,11 +31,7 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Hdr Capture progress in percent.
         /// </summary>
-        public int Percent
-        {
-            get;
-            internal set;
-        }
+        public int Percent { get; }
     }
 }
 
old mode 100644 (file)
new mode 100755 (executable)
index 56b7c80..d949513
@@ -37,29 +37,17 @@ namespace Tizen.Multimedia
         /// <summary>
         /// The Latitude data.
         /// </summary>
-        public double Latitude
-        {
-            get;
-            private set;
-        }
+        public double Latitude { get; }
 
         /// <summary>
         /// The Longitude data.
         /// </summary>
-        public double Longitude
-        {
-            get;
-            private set;
-        }
+        public double Longitude { get; }
 
         /// <summary>
         /// The Altitude data.
         /// </summary>
-        public double Altitude
-        {
-            get;
-            private set;
-        }
+        public double Altitude { get; }
     }
 }
 
old mode 100644 (file)
new mode 100755 (executable)
index 2c31fdf..d6b5193
@@ -31,11 +31,7 @@ namespace Tizen.Multimedia
         /// <summary>
         /// Media Packet data.
         /// </summary>
-        public MediaPacket Packet
-        {
-            get;
-            internal set;
-        }
+        public MediaPacket Packet { get; }
     }
 }
 
old mode 100644 (file)
new mode 100755 (executable)
index 4121090..edbbacc
@@ -32,20 +32,12 @@ namespace Tizen.Multimedia
         /// <summary>
         /// PreviewData frame.
         /// </summary>
-        public PreviewData Frame
-        {
-            get;
-            internal set;
-        }
+        public PreviewData Frame { get; }
 
         /// <summary>
         /// Number of planes in image data.
         /// </summary>
-        public PlaneType Type
-        {
-            get;
-            internal set;
-        }
+        public PlaneType Type { get; }
     }
 }