TKSoundAlertController Class Reference
Inherits from | NSObject |
Conforms to | AVAudioPlayerDelegate |
Declared in | TKSoundAlertController.h |
Tasks
Other Methods
-
+ sharedInstance
Returns the singleton sound alert controller.
-
+ playAIF:
Plays a sound file immediately.
-
+ playAIFF:
Plays a sound file immediately.
-
+ playWAV:
Plays a sound file immediately.
Properties
-
on
Flag to enable the play of the sound. If off, it will not play the sound. Default is off.
property
Class Methods
playAIF:
Plays a sound file immediately.
+ (void)playAIF:(NSString *)soundName
Parameters
- soundName
Plays a sound file with name ‘insert-sound-name’.aif
Discussion
Plays a sound file immediately.
Declared In
TKSoundAlertController.h
playAIFF:
Plays a sound file immediately.
+ (void)playAIFF:(NSString *)soundName
Parameters
- soundName
Plays a sound file with name ‘insert-sound-name’.aiff
Discussion
Plays a sound file immediately.
Declared In
TKSoundAlertController.h