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

26 lines
724 B
TypeScript
Raw Normal View History

// Module ID: 9565
// Function ID: 9566
2026-08-08 06:10:11 +00:00
// Name: isOrientationLockSupported
// Dependencies: [4586, 1608, 2]
2026-08-08 06:10:11 +00:00
// Exports: default
// Module 9565 (isOrientationLockSupported)
import DeviceUtils from "DeviceUtils" /* 4586 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
let result = size.fileFinishedImporting("modules/device/native/isOrientationLockSupported.tsx");
2026-08-08 06:10:11 +00:00
export default function isOrientationLockSupported() {
const isIpadOSResult = DeviceUtils.isIpadOS();
2026-08-08 06:10:11 +00:00
let result = !isIpadOSResult;
if (!isIpadOSResult) {
result = !tmp(1608).isMetaQuest();
const tmpResult = tmp(1608);
2026-08-08 06:10:11 +00:00
}
if (result) {
result = tmp(4586).isOrientationLockSupported();
const tmpResult2 = tmp(4586);
2026-08-08 06:10:11 +00:00
}
return result;
};