// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2017 Intel Corporation. All Rights Reserved. namespace Intel.RealSense { using System; using System.Collections.Generic; using System.Linq; using System.Text; public interface IOption { Option Key { get; } /// Gets or sets option value /// value of the option float Value { get; set; } /// Gets the minimum value which will be accepted for this option float Min { get; } /// Gets the maximum value which will be accepted for this option float Max { get; } /// Gets the granularity of options which accept discrete values, or zero if the option accepts continuous values float Step { get; } /// Gets the default value of the option float Default { get; } /// Gets a value indicating whether an option is read-only /// if option is read-only bool ReadOnly { get; } /// Gets the option description /// human-readable option description string Description { get; } /// Gets the option value description (in case specific option value hold special meaning) /// human-readable description of a specific value of an option or null if no special meaning string ValueDescription { get; } } }