MIDIAccess: sysexEnabled-Eigenschaft

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Sicherer Kontext: Diese Funktion ist nur in sicheren Kontexten (HTTPS) in einigen oder allen unterstützenden Browsern verfügbar.

Die schreibgeschützte Eigenschaft sysexEnabled des MIDIAccess-Interfaces gibt an, ob die System-Exklusiv-Unterstützung für die aktuelle MIDIAccess-Instanz aktiviert ist.

Wert

Ein boolescher Wert.

Beispiele

Die Methode Navigator.requestMIDIAccess() gibt ein Versprechen zurück, das mit einem MIDIAccess-Objekt aufgelöst wird. Das Drucken des Wertes von sysexEnabled in die Konsole gibt einen booleschen Wert zurück, der true ist, wenn die System-Exklusiv-Unterstützung aktiviert ist.

js
navigator.requestMIDIAccess().then((access) => {
  console.log(access.sysexEnabled);
});

Spezifikationen

Specification
Web MIDI API
# dom-midiaccess-sysexenabled

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
sysexEnabled

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.