decord/source/modules/cache/ClientStateStoreStorage.native.tsx

29 lines
830 B
TypeScript
Raw Normal View History

2026-08-14 17:33:39 +00:00
// Module ID: 13525
// Function ID: 13526
2026-07-20 16:05:17 +00:00
// Name: setClientState
2026-07-29 08:29:29 +00:00
// Dependencies: [17, 500, 502, 2]
2026-07-20 16:05:17 +00:00
// Exports: setClientState
2026-08-14 17:33:39 +00:00
// Module 13525 (setClientState)
2026-07-23 10:11:24 +00:00
import { NativeModules } from "get ActivityIndicator";
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
const result = require("enforcing").fileFinishedImporting("modules/cache/ClientStateStoreStorage.native.tsx");
2026-07-29 08:29:29 +00:00
export const setClientState = function setClientState(closure_17, arg1) {
2026-07-20 16:05:17 +00:00
if (obj.isAndroid()) {
let str;
2026-07-29 08:29:29 +00:00
if (closure_17 != null) {
str = closure_17.toString();
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
importDefault(502).setClientState(str, undefined);
const obj2 = importDefault(502);
2026-07-20 16:05:17 +00:00
} else {
const DCDFastConnectManager = NativeModules.DCDFastConnectManager;
2026-07-29 08:29:29 +00:00
let tmp4 = closure_17;
if (closure_17 == null) {
tmp4 = null;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
DCDFastConnectManager.setClientState(tmp4, null);
2026-07-20 16:05:17 +00:00
}
};