API Reference > ui-framework > Hooks > useAnalysisAnimationDataProvider useAnalysisAnimationDataProvider Function Hook that returns either a AnalysisAnimationTimelineDataProvider or undefined based on if the supplied viewport contains analysis data. useAnalysisAnimationDataProvider(viewport: undefined | ScreenViewport): undefined | AnalysisAnimationTimelineDataProvider Parameter Type Description viewport undefined | ScreenViewport Returns - undefined | AnalysisAnimationTimelineDataProvider Defined in ui/framework/src/ui-framework/hooks/useAnalysisAnimationDataProvider.tsx Line 46 Last Updated: 12 June, 2024