decord/source/modules/keyboard/native/useKeyboardDuration.tsx

22 lines
706 B
TypeScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 5410
// Function ID: 5411
2026-07-20 16:05:17 +00:00
// Name: getKeyboardDuration
2026-08-11 06:20:06 +00:00
// Dependencies: [1496, 500, 1497, 2]
2026-07-20 16:05:17 +00:00
// Exports: getKeyboardDuration
2026-08-13 07:00:46 +00:00
// Module 5410 (getKeyboardDuration)
2026-07-29 08:29:29 +00:00
const result = require("computeEntryState").fileFinishedImporting("modules/keyboard/native/useKeyboardDuration.tsx");
2026-07-20 16:05:17 +00:00
export const getKeyboardDuration = function getKeyboardDuration() {
let DEFAULT_APP_ENTRY_KEY = arg0;
if (arg0 === undefined) {
2026-08-11 06:20:06 +00:00
DEFAULT_APP_ENTRY_KEY = require(1496) /* context */.DEFAULT_APP_ENTRY_KEY;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let num = 300;
2026-07-20 16:05:17 +00:00
if (!obj.isAndroid()) {
2026-08-11 06:20:06 +00:00
num = importDefault(1497).getState().byAppEntry[DEFAULT_APP_ENTRY_KEY].keyboardDuration;
const obj2 = importDefault(1497);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
return num;
2026-07-20 16:05:17 +00:00
};