decord/source/modules/device/native/isOrientationLockSupported.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

25 lines
723 B
TypeScript

// Module ID: 9477
// Function ID: 9478
// Name: isOrientationLockSupported
// Dependencies: [4539, 1608, 2]
// Exports: default
// Module 9477 (isOrientationLockSupported)
import set from "set" /* 2 */;
import DCDDeviceManager from "DCDDeviceManager" /* 4539 */;
let result = set.fileFinishedImporting("modules/device/native/isOrientationLockSupported.tsx");
export default function isOrientationLockSupported() {
const isIpadOSResult = DCDDeviceManager.isIpadOS();
let result = !isIpadOSResult;
if (!isIpadOSResult) {
let tmpResult = tmp(1608);
result = !tmpResult.isMetaQuest();
}
if (result) {
tmpResult = tmp(4539);
result = tmpResult.isOrientationLockSupported();
}
return result;
};