Esempio n. 1
0
        /// <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 of.</exception>
        public int GetPan()
        {
            CameraErrorFactory.ThrowIfError(Native.GetPan(_camera.GetHandle(), out int val),
                                            "Failed to get the camera pan step.");

            return(val);
        }
Esempio n. 2
0
        /// <summary>
        /// Gets the current position of the camera.
        /// </summary>
        /// <returns>Returns the camera's horizontal position.</returns>
        /// <since_tizen> 3 </since_tizen>
        /// <feature> http://tizen.org/feature/camera </feature>
        /// <exception cref="ObjectDisposedException">The camera already has been disposed of.</exception>
        public int GetPan()
        {
            Native.GetPan(_camera.GetHandle(), out int val).
            ThrowIfFailed("Failed to get the camera pan step.");

            return(val);
        }