Search Docs
Loading...
Skip to content

Interface: EngineActionsRegistry

The typed action ids. The engine types the actions it implements here. Augment via declare module '@cesdk/engine' to type your own ids and get autocomplete on register/run, while custom string ids stay allowed.

Properties#

Property Type Description
asset.drop (payload) => void Promise<void>
video.decode.checkSupport () => Promise<boolean> Whether this platform can play video, which takes an H.264 decoder. Measures the codecs first when nothing has, so the answer is never “nobody asked yet”.
video.encode.checkSupport () => Promise<boolean> Whether this platform can export video, which takes an H.264 video encoder and an AAC audio encoder. Measures the codecs first when nothing has.