Xojo Documentation
Xojo Documentation
Home
Getting Started
Get Started with Xojo
QuickStarts
Tutorials
Pi Programming
More Guides
Resources
In-Depth Guides
User Guide
Language Reference
Resources
Release Notes
System Requirements
Deprecations
Videos
Feedback
About
Usage
Copyrights and Trademarks
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
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
Category
:
Constructors