Skip to main content

Module transfer

Module transfer 

Source
Expand description

Native drag data and synchronous destination policy. No clipboard or process-local transport.

Structs§

Drop
Item
Representations in an item are alternatives; items in an offer are separate objects.
Location
Offer
Representation
One representation of an item. File references use standard text/uri-list bytes.
Target
Policy is consulted during hover AND again at drop. None rejects this location. receive returns whether the owned data was accepted. Do not delete a source based on asynchronous work started here: external transfers currently advertise Copy only.

Enums§

Operation

Constants§

BUNDLE_MIME
MAX_BYTES
MAX_ITEMS

Functions§

file_paths
Parse native URI-list records without treating remote or opaque URIs as filesystem paths. Callers still need the platform’s access lease for sandboxed/provider-backed references.
valid_mime

Type Aliases§

Source
Called on the UI thread at native drag start, outside any tree borrow.
Day API ↩ Guides· daybrite.dev