LensStudio:DeviceTracing.IProfilingCapture
ClassInterface for plugin component registration.
Index
Properties
Methods
Example
// Every interface registered with the plugin system extends IPluginComponent.
// Retrieve one by calling pluginSystem.findInterface() with its interfaceId
// and casting to the concrete type.
const model = this.pluginSystem.findInterface(
Editor.Model.IModel.interfaceId
) as Editor.Model.IModel;
console.log('Resolved IPluginComponent (IModel). Current project file:', model.project.projectFile.toString());
Extends
Properties
activeTraceSession
readonlyactiveTraceSession:ITraceSession
interfaceId
staticinterfaceId:InterfaceId
Methods
getTypeName()
staticgetTypeName():string
Returns the type name of this class.
Returns
string
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 is of the specified type.
Parameters
| Parameter | Type |
|---|---|
type | string |
Returns
boolean
Inherited from
isSame()
isSame(
other):boolean
Returns true if this object refers to the same instance as the given object.
Parameters
| Parameter | Type |
|---|---|
other | ScriptObject |
Returns
boolean
Inherited from
startTrace()
startTrace(
outputPath):ITraceSession
Parameters
| Parameter | Type |
|---|---|
outputPath | Path |