Deutsches LiveCode Wiki
Advertisement

Use the iphoneEnableRemoteControl command to start receiving remote control events after you start playing audio. This functionality is only available on iOS 5.x and above.

Syntax:

iphoneEnableRemoteControl

Examples:

iphoneEnableRemoteControl

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.



See Also: iphoneRemoteControlEnabled Function, iphoneDisableRemoteControl Command, iphoneSetAudioCategory Command, iphoneSetRemoteControlDisplay command, remoteControlReceived Message

Advertisement