summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLSamplingRate.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLSamplingRate.h')
-rw-r--r--SmartDeviceLink/SDLSamplingRate.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLSamplingRate.h b/SmartDeviceLink/SDLSamplingRate.h
new file mode 100644
index 000000000..28d3d35dc
--- /dev/null
+++ b/SmartDeviceLink/SDLSamplingRate.h
@@ -0,0 +1,56 @@
+// SDLSamplingRate.h
+//
+
+
+#import "SDLEnum.h"
+
+/**
+ * Describes different sampling rates for PerformAudioPassThru
+ *
+ * @since SDL 2.0
+ */
+@interface SDLSamplingRate : SDLEnum {
+}
+
+/**
+ * @abstract get SDLSamplingRate according value string
+ *
+ * @param value The value of the string to get an object for
+ *
+ * @return SDLSamplingRate object
+ */
++ (SDLSamplingRate *)valueOf:(NSString *)value;
+
+/**
+ * @abstract declare an array to store all possible SDLSamplingRate values
+ *
+ * @return the array
+ */
++ (NSArray *)values;
+
+/**
+ * @abstract Sampling rate of 8 kHz
+ *
+ * @return SamplingRate of *8KHZ*
+ */
++ (SDLSamplingRate *)_8KHZ;
+/**
+ * @abstract Sampling rate of 16 kHz
+ *
+ * @return SamplingRate of *16KHZ*
+ */
++ (SDLSamplingRate *)_16KHZ;
+/**
+ * @abstract Sampling rate of 22 kHz
+ *
+ * @return SamplingRate of *22KHZ*
+ */
++ (SDLSamplingRate *)_22KHZ;
+/**
+ * @abstract Sampling rate of 44 kHz
+ *
+ * @return SamplingRate of *44KHZ*
+ */
++ (SDLSamplingRate *)_44KHZ;
+
+@end