Class VolumeLevel

    Definition

    Namespace:
    Tizen.Multimedia
    Assembly:
    Tizen.Multimedia.dll

    Provides a means to control volume levels.

    public class VolumeLevel
    Inheritance
    object
    VolumeLevel

    Properties

    View Source

    this[AudioVolumeType]

    Gets or sets the volume level of the specified AudioVolumeType.

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

    The AudioVolumeType to control.

    Property Value
    Type Description
    int

    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 this[AudioVolumeType].

    System.UnauthorizedAccessException

    The caller does not have required privilege to set volume.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX