decord/source/modules/headless_tasks/android/ToggleSelfMute.tsx
2026-07-25 08:10:48 +00:00

24 lines
795 B
TypeScript

// Module ID: 16685
// Function ID: 130158
// Name: promise
// Dependencies: [1348, 16681, 10714, 10734, 2]
// Module 16685 (promise)
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
const require = arg1;
const result = require("getMuteStates").fileFinishedImporting("modules/headless_tasks/android/ToggleSelfMute.tsx");
export default (channelId) => {
channelId = channelId.channelId;
return new Promise((arg0) => {
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);
});
});
};