IUriImageProvider
类型:接口
实验性
这允许应用程序提供自己的图像缓存/存储管道。或者根据 URI 即时生成图像。
方法
CanLoadImageUri
bool CanLoadImageUri(IReactContext context, Uri uri)
如果此提供程序将为提供的 URI 提供图像,则此函数应返回 true。
GetImageResponseAsync
IAsyncOperation<ImageResponse> GetImageResponseAsync(IReactContext operation, ImageSource context)