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

17 lines
511 B
TypeScript
Raw Normal View History

2026-09-01 10:26:29 +00:00
// Module ID: 7208
// Function ID: 7209
2026-07-20 16:05:17 +00:00
// Name: isForegrounded
2026-07-29 08:29:29 +00:00
// Dependencies: [17, 2]
2026-07-20 16:05:17 +00:00
// Exports: isForegrounded
2026-09-01 10:26:29 +00:00
// Module 7208 (isForegrounded)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const AppState = get_ActivityIndicator.AppState;
const result = set.fileFinishedImporting("modules/analytics_sessions/SessionForegroundUtils.native.tsx");
2026-07-20 16:05:17 +00:00
export const isForegrounded = function isForegrounded() {
return "active" === AppState.currentState;
};