iphoneRemoteControlEnabled

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
iphoneRemoteControlEnabled
Summary

Queries the current state of remote control access.

Introduced6.1
OSios
Platformsmobile
Example
get iphoneRemoteControlEnabled()
Values
NameTypeDescription
return

Returns true is access to the remote control feature is enabled, false if not.

RelatedCommand: iphoneSetRemoteControlDisplay, iphoneDisableRemoteControl, iphoneSetAudioCategory
Message: remoteControlReceived
Description

Use the iphoneRemoteControlEnabled funtion to find out if access to the remote control is enabled.

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).

Use the iphoneRemoteControlEnabled function to find out if this feature is enabled.

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