Platforms to show: All Mac Windows Linux Cross-Platform

AppleRemoteMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Apple Remote MBS MacExtras Plugin 7.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A class to handle an Apple Remote device from Xojo.

All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.

With Mac OS X 10.6 Apple made changes to the behavior of the driver so the exclusive mode does no longer work.

Constants

Constant Value Description
kRemoteButtonFullscreen2009 32768 The constant for the fullscreen button (older modell).
kRemoteButtonLeft 64 The constant for the left button.
kRemoteButtonLeftHold 256 The constant for the left button being hold.
kRemoteButtonMenu 8 The constant for the menu button.
kRemoteButtonMenuHold 512 The constant for the menu button being hold.
kRemoteButtonPlay 16 The constant for the play button.
kRemoteButtonPlay2009 16384 The constant for the play button (older model).
kRemoteButtonPlaySleep 1024 The constant for the play button being hold.
kRemoteButtonRight 32 The constant for the right button.
kRemoteButtonRightHold 128 The constant for the right button being hold.
kRemoteButtonVolumeMinus 4 The constant for the volume minus button.
kRemoteButtonVolumeMinus_Hold 8192 The constant for the volume minus button (hold).
kRemoteButtonVolumePlus 2 The constant for the volume plus button.
kRemoteButtonVolumePlus_Hold 4096 The constant for the volume plus button (hold).
kRemoteControlSwitched 2048 The constant for the device switch event.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine


The items on this page are in the following plugins: MBS MacExtras Plugin.


AliasInfoMBS   -   AppleScriptErrorMBS


The biggest plugin in space...