Class WaveLinkTone

The public class WaveLinkTone is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS. However, not all methods are supported for all OS types.

The Class WaveLinkTone provides the interface for creating tone configurations for the device.

Constructors

public WaveLinkTone()

Methods

AddTone Method

Adds a specific note to the WaveLinkTone object.

ClearTones Method

Clears the notes from the WaveLinkTone object.

DeleteToneFile Method

Deletes tone files from the device.

Duration Method

Sets or returns the duration of a specific note in the WaveLinkTone object.

Frequency Method

Sets or returns the frequency of a specific note in the WaveLinkTone object.

GetToneFile Method

Returns the a tone file into the current WaveLinkTone object.

ListToneFiles Method

Returns the number of tone files on the device and stores the list of names in the WaveLinkTone object.

PlayTone Method

Plays a tone file.

RemoveTone Method

Removes a specific note from the current WaveLinkTone object.

StoreTone Method

Stores the WaveLinkTone object as a tone file on the device for future use.

ToneCount Method

Returns the number of notes within the WaveLinkTone object.

ToneFileCount Method

Returns the number of tone files returned by the last successful call to the ListToneFiles Method.

ToneFileName Method

Returns the file name of a saved tone file.

Remarks

Individual notes are stored within a WaveLinkTone object, and each note is defined by a frequency and a duration. Once defined, a specific note remains within a WaveLinkTone object until either the object is released or all notes are cleared from the object using ClearTones Method. This allows you to use a single tone object within your application which may be modified instead of creating a new tone object for each use.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal