decord/source/modules/headless_tasks/android/ToggleSelfMute.tsx

25 lines
795 B
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 16697
// Function ID: 130205
2026-07-20 16:05:17 +00:00
// Name: promise
2026-07-27 11:26:19 +00:00
// Dependencies: [1348, 16693, 10715, 10735, 2]
2026-07-22 07:54:56 +00:00
2026-07-27 11:26:19 +00:00
// Module 16697 (promise)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
const require = arg1;
const result = require("getMuteStates").fileFinishedImporting("modules/headless_tasks/android/ToggleSelfMute.tsx");
2026-07-20 16:05:17 +00:00
export default (channelId) => {
2026-07-23 10:11:24 +00:00
channelId = channelId.channelId;
2026-07-20 16:05:17 +00:00
return new Promise((arg0) => {
2026-07-23 10:11:24 +00:00
let closure_0 = arg0;
outer1_1(outer1_2[1]).awaitStorage(() => {
const channel = outer2_3.getChannel(callback);
const muteStates = channelId(outer2_2[2]).getMuteStates({ channel });
const obj = channelId(outer2_2[2]);
channelId(outer2_2[3]).createMuteHandler(muteStates).onPress();
callback(true);
2026-07-20 16:05:17 +00:00
});
});
};