Interface ExtensionScriptApis
Methods
extensionIdToShortId
- extensionIdToShortId(extensionId: string): number
-
Parameters
Returns number
fireExtensionApiTelemetry
- fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void
-
Parameters
-
functionName: string
-
isSucceeded: boolean
-
isSupported: boolean
-
errorString: string
Returns void
genericFunction
- genericFunction(routerAddress: any, parameters?: undefined | string, callbackId?: undefined | number): void
-
Parameters
-
routerAddress: any
-
Optional parameters: undefined | string
-
Optional callbackId: undefined | number
Returns void
genericSynchronousFunction
- genericSynchronousFunction(functionId: number, parameters?: undefined | string): string
-
Parameters
-
functionId: number
-
Optional parameters: undefined | string
Returns string
genericWebRuntimeCallout
- genericWebRuntimeCallout(to: any, from: any, payload: string): void
-
Parameters
-
to: any
-
from: any
-
payload: string
Returns void
getExtensionId
-
Returns string
registerGenericFunctionCallbackHandler
- registerGenericFunctionCallbackHandler(callbackHandler: Function): void
-
Parameters
-
callbackHandler: Function
Returns void
registerGenericPersistentCallbackHandler
- registerGenericPersistentCallbackHandler(callbackHandler: Function): void
-
Parameters
-
callbackHandler: Function
Returns void
registerWebRuntimeCallbackHandler
- registerWebRuntimeCallbackHandler(handler: Function): any
-
Parameters
Returns any