BumpBar.BumpBarSound(DeviceUnits, Int32, Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sounds the bump bar enunciator for the bump bar(s) specified by the units parameter.
public abstract void BumpBarSound (Microsoft.PointOfService.DeviceUnits units, int frequency, int duration, int numberOfCycles, int interSoundWait);
abstract member BumpBarSound : Microsoft.PointOfService.DeviceUnits * int * int * int * int -> unit
Public MustOverride Sub BumpBarSound (units As DeviceUnits, frequency As Integer, duration As Integer, numberOfCycles As Integer, interSoundWait As Integer)
Parameters
- units
- DeviceUnits
Bitwise mask that indicates which bump bar unit(s) to operate on.
- frequency
- Int32
Tone frequency in Hertz.
- duration
- Int32
Tone duration in milliseconds.
- numberOfCycles
- Int32
If WaitForever, starts bump bar sounding and, repeats continuously. Else performs the specified number of cycles.
- interSoundWait
- Int32
When numberOfCycles is not one, pauses for interSoundWait milliseconds before repeating the tone cycle, that is before playing the tone again.