21 lines
1.2 KiB
JavaScript
21 lines
1.2 KiB
JavaScript
// Metro module 4240 (f4241).
|
|
import { NativeEventEmitter } from "react-native";
|
|
import Module4241 from "./Module4241";
|
|
const constants = Module4241.getConstants();
|
|
const _excluded = ["getConstants", "setInputDevice", "setInputDeviceById", "setOutputDevice", "setOutputDeviceById", "setVideoInputDevice", "setVideoInputDeviceById", "addListener", "removeListeners"];
|
|
const r28 = {
|
|
...constants,
|
|
getConstants: () => constants,
|
|
setInputDevice: (a0) => typeof a0 === "string" ? Module4241.setInputDeviceById(a0) : Module4241.setInputDevice(a0),
|
|
setOutputDevice: (a0) => typeof a0 === "string" ? Module4241.setOutputDeviceById(a0) : Module4241.setOutputDevice(a0),
|
|
setVideoInputDevice: (a0) => typeof a0 === "string" ? Module4241.setVideoInputDeviceById(a0) : Module4241.setVideoInputDevice(a0),
|
|
...Object.fromEntries(Object.keys(Object.getPrototypeOf(Module4241)).filter((item) => !_excluded.includes(item)).map((item) => {
|
|
return [item, function() {
|
|
return Module4241[item].apply(Module4241, [...Array.prototype.slice.call(arguments, 0)]);
|
|
}];
|
|
}))
|
|
};
|
|
const nativeEventEmitter = new NativeEventEmitter(Module4241);
|
|
export { r28 as VoiceEngine };
|
|
export { nativeEventEmitter as VoiceEngineEmitter };
|