MediaContent
Media offered to a UniTextEditable.MediaReceived hook — from a clipboard paste, a drag-and-drop, or a picker (see Source), before the text-adapter pipeline runs. A handler probes the formats it cares about — image blobs via GetData, files via GetFiles / ReadFile — and sets Handled to consume it; left unhandled, a paste falls through to the normal text channels. MediaInputBehavior is the inherit-and-override entry point.
public UniTextEditable Editable{ get }The editor the media is going into.
public MediaSource Source{ get }Whether this arrived by paste, drop, or picker.
public bool Has(ClipboardFormat format)Whether format is present.
public byte[] GetData(ClipboardFormat format)Raw bytes for format, or null if absent.
File references (paths or URIs), or null if none. Get one's bytes with ReadFile.
Reads the bytes behind a reference from GetFiles, resolved the way the platform requires. null if unreadable.
