Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().
Returns string
Snap OS
Camera Kit
getTypeName
getTypeName():string
Returns the name of this object's type.
Returns string
isOfType
isOfType(type:string):boolean
Returns true if the object matches or derives from the passed in type.
Generic event type for WebSocket.
Snap OS
Camera Kit
Example