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:

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