decord/source/modules/device/native/isOrientationLockSupported.tsx

23 lines
662 B
TypeScript
Raw Normal View History

2026-08-11 06:20:06 +00:00
// Module ID: 9749
// Function ID: 9750
2026-08-08 06:10:11 +00:00
// Name: isOrientationLockSupported
2026-08-11 06:20:06 +00:00
// Dependencies: [4283, 1624, 2]
2026-08-08 06:10:11 +00:00
// Exports: default
2026-08-11 06:20:06 +00:00
// Module 9749 (isOrientationLockSupported)
2026-08-08 06:10:11 +00:00
let result = require("set").fileFinishedImporting("modules/device/native/isOrientationLockSupported.tsx");
export default function isOrientationLockSupported() {
const isIpadOSResult = require(4283) /* DCDDeviceManager */.isIpadOS();
let result = !isIpadOSResult;
if (!isIpadOSResult) {
2026-08-11 06:20:06 +00:00
let tmpResult = tmp(1624);
2026-08-08 06:10:11 +00:00
result = !tmpResult.isMetaQuest();
}
if (result) {
tmpResult = tmp(4283);
result = tmpResult.isOrientationLockSupported();
}
return result;
};