iphoneEnableRemoteControl

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
iphoneEnableRemoteControl
Summary

Enables access to the remote control feature on iOS.

Introduced6.1
OSios
Platformsmobile
Example
iphoneEnableRemoteControl
RelatedCommand: iphoneSetRemoteControlDisplay, iphoneDisableRemoteControl, iphoneSetAudioCategory
Function: iphoneRemoteControlEnabled
Message: remoteControlReceived
Description

Use the iphoneEnableRemoteControl command to start receiving remote control events after you start playing audio.

The remote control feature on iOS allows access to the audio controls both on an external device and also on the device itself when in lock screen (via double-tapping on the Home button).

To use this feature remote control access must be enabled using the iphoneEnableRemoteControl command.

The audio category must be set to 'playback' using the iphoneSetAudioCategory command.

Note: This functionality is only available on iOS 5.x and above.