Table of Contents

Interface ISKTileCacheStore

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

Platform-agnostic persistent tile storage keyed by string. Implementations provide disk, browser, or database-backed stores.

public interface ISKTileCacheStore : IDisposable
Inherited Members

Remarks

Built-in implementations:

Custom implementations (e.g. IndexedDB for Blazor WASM, SQLite for mobile) are supported by implementing this interface directly.

Methods

ClearAsync(CancellationToken)

Clears all cached entries.

RemoveAsync(string, CancellationToken)

Removes a specific cache entry.

SetAsync(string, SKImagePyramidTileData, CancellationToken)

Stores tile data. Implementations should be safe to call fire-and-forget.

TryGetAsync(string, CancellationToken)

Returns cached tile data, or null on a miss or expiry.