MIDIInputMap
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Web MIDI API 的 MIDIInputMap
只读接口提供了当前可用的 MIDI 输入端口集合。
MIDIInputMap
实例是一个只读的类 Map
对象,其中每个键是 MIDI 输入的 ID 字符串,关联的值是对应的 MIDIInput
对象。
规范
Specification |
---|
Web MIDI API # midiinputmap-interface |
浏览器兼容性
BCD tables only load in the browser