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

32 lines
964 B
TypeScript
Raw Normal View History

2026-09-01 10:26:29 +00:00
// Module ID: 13836
// Function ID: 13837
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-09-01 10:26:29 +00:00
// Module 13836 (setClientState)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import enforcingDefault from "enforcing" /* 502 */;
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
const NativeModules = get_ActivityIndicator.NativeModules;
const result = set.fileFinishedImporting("modules/cache/ClientStateStoreStorage.native.tsx");
2026-07-23 10:11:24 +00:00
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-08-24 06:08:38 +00:00
enforcingDefault.setClientState(str, undefined);
const obj2 = enforcingDefault;
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
}
};