Class AudioDevice

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.dll
API Level:
3

Provides the ability to query the information of sound devices.

C#
Copy
public class AudioDevice
Inheritance
AudioDevice

Properties

View Source

Id

Gets the ID of the device.

Declaration
C#
Copy
public int Id { get; }
Property Value
Type Description
System.Int32

The id of the device.

API Level: 3
View Source

IoDirection

Gets the IO direction of the device.

Declaration
C#
Copy
public AudioDeviceIoDirection IoDirection { get; }
Property Value
Type Description
AudioDeviceIoDirection

The IO direction of the device.

API Level: 3
View Source

Name

Gets the name of the device.

Declaration
C#
Copy
public string Name { get; }
Property Value
Type Description
System.String

The name of the device.

API Level: 3
View Source

State

Gets the state of the device.

Declaration
C#
Copy
public AudioDeviceState State { get; }
Property Value
Type Description
AudioDeviceState

The AudioDeviceState of the device.

API Level: 3
View Source

Type

Gets the type of the device.

Declaration
C#
Copy
public AudioDeviceType Type { get; }
Property Value
Type Description
AudioDeviceType

The AudioDeviceType of the device.

API Level: 3

Methods

View Source

Equals(Object)

Compares an object to an instance of AudioDevice for equality.

Declaration
C#
Copy
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj

A Object to compare.

Returns
Type Description
Boolean

true if the two devices are equal; otherwise, false.

Overrides
API Level: 4
View Source

GetHashCode()

Gets the hash code for this instance of AudioDevice.

Declaration
C#
Copy
public override int GetHashCode()
Returns
Type Description
System.Int32

The hash code for this instance of AudioDevice.

Overrides
System.Object.GetHashCode()
API Level: 4
View Source

ToString()

Returns a string that represents the current object.

Declaration
C#
Copy
public override string ToString()
Returns
Type Description
System.String

A string that represents the current object.

Overrides
API Level: 4