decord/source/modules/clips/native/ClipsManager.tsx

48 lines
1.5 KiB
TypeScript
Raw Normal View History

// Module ID: 17805
// Function ID: 17806
2026-07-29 08:29:29 +00:00
// Name: showClipsToast
// Dependencies: [5132, 17806, 4259, 1114, 2]
2026-07-23 10:11:24 +00:00
// Module 17805 (showClipsToast)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import dispatcherDefault from "dispatcher" /* 4259 */;
import result2 from "result" /* 5132 */;
import handleRTCConnectionStateDefault from "handleRTCConnectionState" /* 17806 */;
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
const CLIPS_TOAST_DURATION = result2.CLIPS_TOAST_DURATION;
handleRTCConnectionStateDefault;
2026-07-29 08:29:29 +00:00
class ClipsManager extends tmp2 {
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const prototype = ClipsManager.prototype;
prototype["showClipsToast"] = function showClipsToast() {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-29 08:29:29 +00:00
obj = { key: "CLIPS_IN_CALL_WARNING", content: null, toastDurationMs: null };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[1] = intl.string(getSystemLocale.t["d+41qJ"]);
2026-07-29 08:29:29 +00:00
obj[2] = CLIPS_TOAST_DURATION;
obj.open(obj);
};
prototype["applyNativeClipsSettings"] = function applyNativeClipsSettings(arg0) {
};
prototype["handleClipsInitOnToggleDetection"] = function handleClipsInitOnToggleDetection(arg0) {
};
prototype["handleClipsInitOnGamesChange"] = function handleClipsInitOnGamesChange(arg0) {
};
prototype["fireClipsInitEvent"] = function fireClipsInitEvent(arg0) {
};
prototype["handleStreamEnded"] = function handleStreamEnded(arg0) {
2026-08-25 06:04:03 +00:00
};
prototype["maybeStartNtpClock"] = function maybeStartNtpClock() {
2026-07-29 08:29:29 +00:00
};
const clipsManager = new ClipsManager();
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/clips/native/ClipsManager.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default clipsManager;