UNPKG

mediasfu-angular

Version:

mediasfu-angular - Angular 17/18/19 WebRTC SDK for video conferencing, webinars, broadcasts, live streaming, chat, recording, whiteboard, and AI agents. Prebuilt rooms and fully custom UIs.

42 lines (41 loc) 1.79 kB
import type { LaunchSettingsOptions } from 'mediasfu-shared'; import * as i0 from "@angular/core"; export type { LaunchSettingsOptions, LaunchSettingsType } from 'mediasfu-shared'; /** * Toggles the visibility state of the settings modal. * * @param {LaunchSettingsOptions} options - The options for launching settings. * @param {Function} options.updateIsSettingsModalVisible - Function to update the visibility state of the settings modal. * @param {boolean} options.isSettingsModalVisible - Current visibility state of the settings modal. * @returns {void} * * @remarks * This method toggles the current visibility state of the settings modal. * If the modal is currently visible, it will be hidden, and vice versa. * * @example * ```typescript * const options: LaunchSettingsOptions = { * updateIsSettingsModalVisible: (isVisible) => { * console.log('Settings modal visibility:', isVisible); * }, * isSettingsModalVisible: false, * }; * * const launchSettingsService = new LaunchSettings(); * launchSettingsService.launchSettings(options); * ``` */ export declare class LaunchSettings { /** * Toggles the visibility state of the settings modal. * * @param {LaunchSettingsOptions} options - The options for launching settings. * @param {Function} options.updateIsSettingsModalVisible - Function to update the visibility state of the settings modal. * @param {boolean} options.isSettingsModalVisible - Current visibility state of the settings modal. * @returns {void} */ launchSettings({ updateIsSettingsModalVisible, isSettingsModalVisible, }: LaunchSettingsOptions): void; static ɵfac: i0.ɵɵFactoryDeclaration<LaunchSettings, never>; static ɵprov: i0.ɵɵInjectableDeclaration<LaunchSettings>; }