iOSSound.Constructor(file As FolderItem)

From Xojo Documentation

Constructor
iOSSound.Constructor(file As FolderItem)

Creates a new sound from a sound file.

Sample Code

Plays a sound from the Documents folder:

Var soundFile As FolderItem
soundFile = SpecialFolder.Documents.Child("MySound.mp3")
Var mySound As New iOSSound(soundFile)
mySound.Play