Class VolumeLevel

Definition

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

Provides a means to control volume levels.

C#
Copy
public class VolumeLevel
Inheritance
System.Object
VolumeLevel

Properties

View Source

Item[AudioVolumeType]

Gets or sets the volume level of the specified AudioVolumeType.

Declaration
C#
Copy
public int this[AudioVolumeType type] { get; set; }
Parameters
Type Name Description
AudioVolumeType type

The AudioVolumeType to control.

Property Value
Type Description
System.Int32

The current volume level.

Remarks

To set volumes, the specified privilege is required.

Exceptions
Type Condition
System.ArgumentException

type is invalid.

System.ArgumentOutOfRangeException

type is None.
-or-
value is less than zero.
-or-
value is greater than Item[AudioVolumeType].

UnauthorizedAccessException

The caller does not have required privilege to set volume.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/volume.set