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

22 lines
706 B
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 5296
// Function ID: 5297
2026-07-20 16:05:17 +00:00
// Name: getKeyboardDuration
2026-07-29 08:29:29 +00:00
// Dependencies: [1477, 500, 1478, 2]
2026-07-20 16:05:17 +00:00
// Exports: getKeyboardDuration
2026-08-05 07:35:12 +00:00
// Module 5296 (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-07-29 08:29:29 +00:00
DEFAULT_APP_ENTRY_KEY = require(1477) /* 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-07-29 08:29:29 +00:00
num = importDefault(1478).getState().byAppEntry[DEFAULT_APP_ENTRY_KEY].keyboardDuration;
const obj2 = importDefault(1478);
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
};