decord/source/modules/frames/native/getDefaultOrientationLockState.tsx
2026-07-23 10:11:24 +00:00

21 lines
830 B
TypeScript

// Module ID: 15727
// Function ID: 121264
// Name: setOrientationLockState
// Dependencies: [10600, 686, 2]
// Exports: setOrientationLockState
// Module 15727 (setOrientationLockState)
const result = require("set").fileFinishedImporting("modules/frames/native/getDefaultOrientationLockState.tsx");
export const setOrientationLockState = function setOrientationLockState(id) {
let defaultOrientationLockState = arg1;
if (null == arg1) {
let obj = require(10600) /* getIsTabletActivitySurface */;
defaultOrientationLockState = obj.getDefaultOrientationLockState(id);
}
if (null != defaultOrientationLockState) {
obj = { type: "FRAME_SET_ORIENTATION_LOCK_STATE", applicationId: id.id, lockState: defaultOrientationLockState };
importDefault(686).dispatch(obj);
const obj2 = importDefault(686);
}
};