39 lines
1.0 KiB
JavaScript
39 lines
1.0 KiB
JavaScript
// Metro module 4238 (f4239).
|
|
let c2452_0, voiceEngine;
|
|
export function inject(a0) {
|
|
c2452_0 = a0;
|
|
}
|
|
export function supported() {
|
|
if (c2452_0 == null) {
|
|
throw new Error("Native dependencies have not been injected.");
|
|
}
|
|
return c2452_0.supported();
|
|
}
|
|
export function supportsFeature(a0) {
|
|
if (c2452_0 == null) {
|
|
throw new Error("Native dependencies have not been injected.");
|
|
}
|
|
return c2452_0.supportsFeature(a0);
|
|
}
|
|
export function setProcessPriority(a0) {
|
|
if (c2452_0 == null) {
|
|
throw new Error("Native dependencies have not been injected.");
|
|
}
|
|
c2452_0.setProcessPriority(a0);
|
|
}
|
|
export function getVoiceEngine() {
|
|
if (c2452_0 == null) {
|
|
throw new Error("Native dependencies have not been injected.");
|
|
}
|
|
if (voiceEngine == null) {
|
|
voiceEngine = c2452_0.getVoiceEngine();
|
|
}
|
|
return voiceEngine;
|
|
}
|
|
export function getOpenH264LibraryPath() {
|
|
if (c2452_0 == null) {
|
|
throw new Error("Native dependencies have not been injected.");
|
|
}
|
|
return c2452_0.getOpenH264LibraryPath();
|
|
}
|