Initializing
Reading state
Capabilities
unavailable rather than failing with a generic
error the first time you use it. Read this before offering a feature in your interface.
Storage
The browser needs a persistence story the native SDKs do not have, and this namespace is it.
After a reload, a previously granted directory has to be re-acquired with
restore(), and a
lapsed permission needs requestAccess(). Neither happens automatically.
Models
list, get, and register are synchronous on Web and async on every other SDK. Code ported
from Swift or React Native will not need await here.load directly. Generation auto-loads what it needs and downloads when
options.model names a model that is absent.