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?: string, callbackId?: number): void
Parameters
routerAddress: any
Optional parameters: string
Optional callbackId: number
Returns void
genericSynchronousFunction
- genericSynchronousFunction(functionId: number, parameters?: string): string
Parameters
functionId: number
Optional parameters: 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