// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System; #if WINAPPSDK using Microsoft.UI.Composition; #else using Windows.UI.Composition; #endif namespace CommunityToolkit.WinUI.Lottie { /// /// A delegate that returns an for the given image uri. /// /// A surface for the image referenced by /// or null. /// Users can provide an in order to /// provide a bitmap for an image referenced in a Lottie file. public delegate ICompositionSurface? ImageAssetHandler(Uri imageUri); }