DeviceType enum
Enum to identify the type of a Device via BaseDevice.type. Also used within createDevice()
Signature
export declare enum DeviceType
Enumeration Members
Member | Value | Description |
---|---|---|
Invalid | "invalid" | Invalid. A device becomes invalid after being reused by a call to createDevice() |
Script | "script" | Used by ScriptDevice |
Worklet | "worklet" | Used by WorkletDevice |