decord/alpha/source/modules/calls/native/VideoBackgroundManager.tsx

31 lines
1.3 KiB
TypeScript

// Module ID: 8480
// Function ID: 8481
// Name: VideoBackgroundManager
// Dependencies: [2012, 7314, 2]
// Module 8480 (VideoBackgroundManager)
import SelectedChannelStore from "SelectedChannelStore" /* 2012 */;
import AutomaticLifecycleManager from "AutomaticLifecycleManager" /* 7314 */;
const prototype = function VideoBackgroundManager() {
const applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
SelectedChannelStore = applyArgumentsResult;
applyArgumentsResult.previousSelectedVoiceChannelId = SelectedChannelStore.getVoiceChannelId();
applyArgumentsResult.cachedDominantColors = {};
applyArgumentsResult._handleSelectVoiceChannel = function _handleSelectVoiceChannel(channelId) {
channelId = channelId.channelId;
if (applyArgumentsResult.previousSelectedVoiceChannelId !== channelId) {
tmp.cachedDominantColors = {};
}
applyArgumentsResult.previousSelectedVoiceChannelId = channelId;
};
applyArgumentsResult.actions = { VOICE_CHANNEL_SELECT: applyArgumentsResult._handleSelectVoiceChannel };
return applyArgumentsResult;
}.prototype;
class prototype extends tmp2 {
}
const prototype1 = new prototype();
const size = fn(2);
const result = size.fileFinishedImporting("modules/calls/native/VideoBackgroundManager.tsx");
export default prototype1;