Send a PlaySoundFile message.
Send the PlaySoundFile direct command on the specified connection slot. Use RemoteConnectionIdle to determine when this write request is completed.
- Parameters
-
conn | The connection slot (0..4). Connections 0 through 3 are for bluetooth connections. Connection 4 refers to the RS485 hi-speed port. See Remote connection constants. |
filename | The name of the sound file to play. |
bloop | A boolean value indicating whether to loop the sound file or not. |
- Returns
- A char value indicating whether the function call succeeded or not.
- Examples:
- ex_RemotePlaySoundFile.nxc.