decord/source/modules/analytics_sessions/SessionForegroundUtils.native.tsx

17 lines
492 B
TypeScript
Raw Normal View History

// Module ID: 7572
// Function ID: 7573
// Name: SessionForegroundUtils
2026-07-29 08:29:29 +00:00
// Dependencies: [17, 2]
2026-07-20 16:05:17 +00:00
// Exports: isForegrounded
// Module 7572 (SessionForegroundUtils)
import _mod17 from "module_17" /* 17 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const AppState = _mod17.AppState;
const result = size.fileFinishedImporting("modules/analytics_sessions/SessionForegroundUtils.native.tsx");
2026-07-20 16:05:17 +00:00
export const isForegrounded = function isForegrounded() {
return "active" === AppState.currentState;
};