decord/source/modules/device/native/isOrientationLockSupported.tsx
2026-08-12 06:57:52 +00:00

22 lines
662 B
TypeScript

// Module ID: 9790
// Function ID: 9791
// Name: isOrientationLockSupported
// Dependencies: [4324, 1624, 2]
// Exports: default
// Module 9790 (isOrientationLockSupported)
let result = require("set").fileFinishedImporting("modules/device/native/isOrientationLockSupported.tsx");
export default function isOrientationLockSupported() {
const isIpadOSResult = require(4324) /* DCDDeviceManager */.isIpadOS();
let result = !isIpadOSResult;
if (!isIpadOSResult) {
let tmpResult = tmp(1624);
result = !tmpResult.isMetaQuest();
}
if (result) {
tmpResult = tmp(4324);
result = tmpResult.isOrientationLockSupported();
}
return result;
};