DeviceOrientation
new DeviceOrientation({ handler: (args: DeviceOrientationEventArgs) => void; });
interface DeviceOrientationEventArgs { absolute: boolean; alpha: number | null; beta: number | null; gamma: number | null; }
DeviceMovement
new DeviceMovement({ handler: (args: DeviceMovementEventArgs) => void; });
interface DeviceMovementEventArgs { acceleration: DeviceMotionEventAcceleration | null; accelerationIncludingGravity: DeviceMotionEventAcceleration | null; rotationRate: DeviceMotionEventRotationRate | null; interval: number; }
MIDI
new MIDI({ onEvent: (event: MIDIEvent) => void; });
MIDIEvent { channel: number | null; device: Partial<MIDIPort>; a: EventData | null; b: EventData | null; type: string; }
UserMediaStream
new UserMediaStream();
start(MediaStreamConstraints: { audio?: boolean | MediaTrackConstraints; peerIdentity?: string; preferCurrentTab?: boolean; video?: boolean | MediaTrackConstraints; })