/** * @packageDocumentation * * Gives functionality for controlling the view mode of the source - picture in picture, full screen and inline. * * Exposes the ViewMode state atom, and `viewMode` API on the source API to write to the state. * * ### `ViewMode` Package Dependency Graph *
ViewMode
Core
Source
BitmovinV8StaticApi
SourcesApi
BitmovinV8Core
BitmovinVideoElementUtils
EventBus
PlayerApi
*/ import type { ApiManager } from '../../../framework-types/api-manager/ApiManager'; import type { ContextHaving } from '../../../framework-types/execution-context/Types'; import { BundleExportNames } from '../../bundles/Types'; import type { EmptyObject } from '../../Types'; import type { CoreEffects } from '../core/Types'; import { CoreExportNames } from '../core/Types'; import type { Logger } from '../core/utils/Logger'; import type { SourceStateAtom } from '../source/atoms/SourceStateAtom'; import { SourceExportNames } from '../source/Types'; import { SourcesApiExportNames } from '../sources-api/Types'; import type { ContextWithState } from '../Types'; import type { ViewModeApi } from './Types'; import { ViewModePackageExportNames } from './Types'; import type { ViewModeAtom } from './ViewModeAtom'; type Dependencies = { [CoreExportNames.CoreEffects]: CoreEffects; [SourceExportNames.SourceState]: SourceStateAtom; [BundleExportNames.Logger]: Logger; [SourcesApiExportNames.SourceApiManager]: ApiManager; }; export type ViewModePackageExports = { [ViewModePackageExportNames.ViewModeState]: ViewModeAtom; }; export type ViewModeContext = ContextHaving; declare const ViewModePackage: import("../../../framework-types/package-api/Package").Package; export default ViewModePackage;