Class AudioDevice
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.dll
Provides the ability to query the information of sound devices.
public class AudioDevice
- Inheritance
-
objectAudioDevice
Properties
View SourceId
Gets the ID of the device.
Declaration
public int Id { get; }
Property Value
Type | Description |
---|---|
int | The id of the device. |
IoDirection
Gets the IO direction of the device.
Declaration
public AudioDeviceIoDirection IoDirection { get; }
Property Value
Type | Description |
---|---|
AudioDeviceIoDirection | The IO direction of the device. |
Name
Gets the name of the device.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string | The name of the device. |
State
Gets the state of the device.
Declaration
public AudioDeviceState State { get; }
Property Value
Type | Description |
---|---|
AudioDeviceState | The AudioDeviceState of the device. |
Type
Gets the type of the device.
Declaration
public AudioDeviceType Type { get; }
Property Value
Type | Description |
---|---|
AudioDeviceType | The AudioDeviceType of the device. |
Methods
View SourceEquals(object)
Compares an object to an instance of AudioDevice for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | A object to compare. |
Returns
Type | Description |
---|---|
bool | true if the two devices are equal; otherwise, false. |
Overrides
object.Equals(object)
View Source
GetHashCode()
Gets the hash code for this instance of AudioDevice.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | The hash code for this instance of AudioDevice. |
Overrides
object.GetHashCode()
View Source
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |
Overrides
object.ToString()