using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
+using System.ComponentModel;
namespace Tizen.Multimedia
{
/// <value>The <see cref="AudioDeviceState"/> of the device.</value>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API level 5. Please use the IsRunning property instead.")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public AudioDeviceState State
{
get
ThrowIfError("Failed to get the running state of the device");
return isRunning;
- }
+ }
}
/// <summary>
*/
using System;
+using System.ComponentModel;
namespace Tizen.Multimedia
{
/// Deactivated devices.
/// </summary>
[Obsolete("Deprecated since API level 5.")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
Deactivated = 0x1000,
/// <summary>
/// Activated devices.
/// </summary>
[Obsolete("Deprecated since API level 5.")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
Activated = 0x2000,
/// <summary>
*/
using System;
-
+using System.ComponentModel;
+
namespace Tizen.Multimedia
{
/// <summary>
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API level 5.")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public enum AudioDeviceState
{
/// <summary>
*/
using System;
+using System.ComponentModel;
namespace Tizen.Multimedia
{
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API level 5. Please use the AudioDeviceRunningChangedEventArgs class instead.")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public class AudioDeviceStateChangedEventArgs : EventArgs
{
internal AudioDeviceStateChangedEventArgs(AudioDevice device, AudioDeviceState changedState)
using System;
using System.Collections.Generic;
+using System.ComponentModel;
namespace Tizen.Multimedia
{
/// </summary>
/// <since_tizen> 3 </since_tizen>
[Obsolete("Deprecated since API level 5. Please use the DeviceRunningStateChanged property instead.")]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public static event EventHandler<AudioDeviceStateChangedEventArgs> DeviceStateChanged
{
add