RFTone Object

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

The RFTone object lets you utilize the audio capabilities of a remote RF device from your applications. Using an RFTone object you can compose multiple notes into single tone files, save these files to an RF device, then play the tones.

Methods

AddTone Method

Adds a specific note to the RFTone object.

ClearTones Method

Clears the notes from the RFTone object.

DeleteToneFile Method

Deletes tone files from the RF device.

GetDuration Method

Returns the duration of a specific note in the RFTone object.

GetFrequency Method

Returns the frequency of a specific note in the RFTone object.

GetToneFile Method

Returns the a tone file into the current RFTone object.

ListToneFiles Method

Returns the number of tone files on the Rfdevice and stores the list of names in the RFTone object.

PlayTone Method

Plays a tone file.

RemoveTone Method

Removes a specific note from the current RFTone object.

RFGetLastError Method

Returns the value of the last generated RFTone error.

SetDuration Method

Defines the duration of a specific note in the RFTone object.

SetFrequency Method

Defines the frequency of a specific note in the RFTone object.

StoreTone Method

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

ToneCount Method

Returns the number of notes within the RFTone 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.

Prog IDs

“WAVELINKOLE.RFTONE”

Remarks

Individual notes are stored within an RFTone object, each note defined by a frequency and a duration. Once defined, a specific note will remain within an RFTone object until either the object is released or all notes are cleared from the object using the ClearTones Method. This allows you to use a single tone object within your application which may be modified rather than 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