ToneIndicator.MelodyVolume Property (POS for .NET v1.14 SDK Documentation)
3/2/2014
Gets or sets the volume of the selected melody tone as a percentage of the device’s capability, where 0 (zero) is silent and 100 is the maximum loudness available.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property MelodyVolume As Integer
public abstract int MelodyVolume { get; set; }
public:
virtual property int MelodyVolume {
int get () abstract;
void set (int value) abstract;
}
/** @property */
public abstract int get_MelodyVolume ()
/** @property */
public abstract void set_MelodyVolume (int value)
public abstract function get MelodyVolume () : int
public abstract function set MelodyVolume (value : int)
Property Value
Returns Int32.
Remarks
If the tone indicator device does not support a user defined volume (the CapVolume is set to false), then any value greater than zero sets the device to its default volume.
This property is set to 100 when the device is first enabled after the Open method is called.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
ToneIndicator Class
ToneIndicator Members
Microsoft.PointOfService Namespace