AREL Getting Started
AREL Reference
AREL Miscellaneous
AREL Changelist
Triggering vibration
The AREL JS interface not only allows sound playback on iDevices, but can also trigger a vibration on your device. Please use:
arel.Media.vibrate();
Using the Torch
If you want to allow users to start and stop the torch and use it as a flash light on iDevices (especially in darker environments), you can call:
arel.Scene.startTorch()
arel.Scene.stopTorch()
