SoundType
enum SoundType
This enum defines one of the three different display types for a running timer.
-
No sound, no vibration
Declaration
Swift
case none
-
No sound, vibration
Declaration
Swift
case vibrate
-
Sound, no vibration
Declaration
Swift
case sound(soundFileName: String)
-
Sound, vibration
Declaration
Swift
case soundVibrate(soundFileName: String)
-
Returns the image associated with this state.
Declaration
Swift
var image: UIImage? { get }
-
Returns the position in the sound type segmented switch.
Declaration
Swift
var segmentedPosition: Int { get }
-
Returns a string, describing the state.
Declaration
Swift
var description: String { get }