Back to API Reference
Interface
IMediaClipboardProvider
abstract
Implements:IClipboardProvider
Optional IClipboardProvider extension for binary media. File copies arrive as references — a path list (desktop) or URI list (sandboxed platforms) — not as a single blob, so they have their own accessor; raster blobs read through GetData. A provider that does not implement this carries text only.
public abstract Task<byte[]> ReadFileAsync()Async variant of ReadFile for large media (a dropped video must not stall the main thread). Desktop reads on a worker; platforms whose bytes are already in memory (web captured blob) complete synchronously.
public abstract IReadOnlyList<ClipboardFormat> GetAvailableFormats()Format identifiers currently on the clipboard, for inspection. Answered by availability probes only — no payload transfers. May be empty when the platform cannot enumerate.
