2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 namespace Tizen.Multimedia
21 /// Enumeration for audio device options.
23 public enum AudioDeviceOptions
26 /// Mask for input devices
30 /// Mask for output devices
34 /// Mask for input/output devices (both directions are available)
36 InputAndOutput = 0x0004,
38 /// Mask for built-in devices
42 /// Mask for external devices
46 /// Mask for deactivated devices
50 /// Mask for activated devices
54 /// Mask for all devices
60 /// Enumeration for audio device type.
62 public enum AudioDeviceType
77 /// Audio jack that can be connected to wired accessory such as headphones and headsets
81 /// Bluetooth Media (A2DP)
89 /// Device for forwarding
97 /// Bluetooth Voice (SCO)
103 /// Enumeration for audio device direction.
105 public enum AudioDeviceIoDirection
116 /// Input/output device (both directions are available)
122 /// Enumeration for audio device state.
124 public enum AudioDeviceState
127 /// Deactivated state
137 /// Enumeration for audio volume type.
139 public enum AudioVolumeType
142 /// Volume type for system
146 /// Volume type for notification
150 /// Volume type for alarm
154 /// Volume type for ringtone
158 /// Volume type for media
162 /// Volume type for call
166 /// Volume type for voip
170 /// Volume type for voice
180 /// Enumeration for audio stream type.
182 public enum AudioStreamType
185 /// Audio stream type for media
189 /// Audio stream type for system
193 /// Audio stream type for alarm
197 /// Audio stream type for notification
201 /// Audio stream type for emergency
205 /// Audio stream type for voice information
209 /// Audio stream type for voice recognition
213 /// Audio stream type for ringtone for VoIP
217 /// Audio stream type for VoIP
221 /// Audio stream type for media only for external devices
227 /// Enumeration for change reason of audio stream focus state.
229 public enum AudioStreamFocusChangedReason
232 /// Changed by the stream type for media
236 /// Changed by the stream type for system
240 /// Changed by the stream type for alarm
244 /// Changed by the stream type for notification
248 /// Changed by the stream type for emergency
252 /// Changed by the stream type for voice information
256 /// Changed by the stream type for voice recognition
260 /// Changed by the stream type for ringtone
264 /// Changed by the stream type for VoIP
268 /// Changed by the stream type for voice-call or video-call
272 /// Changed by the stream type for media only for external devices
278 /// Enumeration for audio stream focus options.
280 public enum AudioStreamFocusOptions
283 /// Mask for playback focus
287 /// Mask for recording focus
293 /// Enumeration for audio stream focus state.
295 public enum AudioStreamFocusState
298 /// Focus state for release
302 ///Focus state for acquisition
308 /// Enumeration for audio stream behavior
311 public enum AudioStreamBehavior
314 /// Audio Stream Behavior NONE
318 /// Audio Stream Behavior No Resume
322 /// Audio Stream Behavior Fading