ShoppingLoadingIndicator
ClassRepresents the loading state of the ShoppingModule.
- Snapchat: not supported
- SPECS: not supported
- Camera Kit Web: fully supported
- Camera Kit Mobile: fully supported
- SnapchatNot supported — Available on Camera Kit only
- SPECSNot supported — Available on Camera Kit only
- Camera Kit WebFully supported
- Camera Kit MobileFully supported
Since Lens Scripting v162
Represents the loading state of the ShoppingModule. Returned by ShoppingModule.loadingStarted. Subscribe to the ShoppingLoadingIndicator#loadingSucceeded and ShoppingLoadingIndicator#loadingFailed events to be notified when loading completes.
Index
Properties
Methods
Extends
Properties
loadingFailed
readonlyloadingFailed: () =>void
Camera Kit
Returns
void
Since
Lens Scripting Version 162
loadingSucceeded
readonlyloadingSucceeded: () =>void
Camera Kit
Returns
void
Since
Lens Scripting Version 162
Methods
getTypeName()
staticgetTypeName():TypeName<ShoppingLoadingIndicator>
Camera Kit
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
TypeName<ShoppingLoadingIndicator>
Since
Lens Scripting Version 162
Overrides
getTypeName()
getTypeName():
string
Returns the name of this object's type.
Returns
string
Inherited from
isOfType()
isOfType(
type):boolean
Returns true if the object matches or derives from the passed in type.
Parameters
| Parameter | Type |
|---|---|
type | string |
Returns
boolean
Inherited from
isSame()
isSame(
other):boolean
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Parameters
| Parameter | Type |
|---|---|
other | ScriptObject |
Returns
boolean