Crosswake. NativeEscape. Contract
(crosswake v0.1.0)
View Source
Typed contract for Crosswake's single public native escape hatch: route-owned media capture with explicit local staging and explicit transfer handoff.
Summary
Types
@type denial() :: Crosswake.NativeEscape.Contract.Denial.t()
@type local_capture() :: Crosswake.NativeEscape.Contract.LocalCapture.t()
@type permission_posture() :: :required | :granted | :denied
@type request() :: Crosswake.NativeEscape.Contract.Request.t()
@type result() :: Crosswake.NativeEscape.Contract.Result.t()
@type state() :: :captured_local | :transfer_complete
@type transfer_handoff() :: Crosswake.NativeEscape.Contract.TransferHandoff.t()
Functions
@spec new_local_capture(keyword()) :: local_capture()
@spec new_transfer_handoff(keyword()) :: transfer_handoff()
@spec protocol() :: String.t()
@spec purposes() :: [:media_capture]
@spec states() :: [state()]
@spec version() :: String.t()