Platforms to show: All Mac Windows Linux Cross-Platform

Back to MediaKeysMBS class.

MediaKeysMBS.Keys(keyCode as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Media Keys MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Which keys should be intercepted and handled by your application.
Example
dim m as new MediaKeysMBS // your MediaKeys object

// watch for this key
m.Keys(MediaKeysMBS.kMediaKeyEject) = MediaKeysMBS.kModeEventAndBlock

(Read and Write computed property)

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


The biggest plugin in space...