Properties
lastError
Methods
checkMatchesGlobExpression
- checkMatchesGlobExpression(pattern: string, value: string): boolean
-
Parameters
-
pattern: string
-
value: string
Returns boolean
checkMatchesUriExpression
- checkMatchesUriExpression(pattern: string, value: string): boolean
-
Parameters
-
pattern: string
-
value: string
Returns boolean
clearLastError
-
Returns void
currentWindowId
- currentWindowId(): number
-
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(functionId: number, destination: any, parameters?: undefined | string, callbackId?: undefined | number): void
-
Parameters
-
functionId: number
-
destination: 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
getExtensionId
-
Returns string
getThisAddress
-
Returns any
registerGenericFunctionCallbackHandler
- registerGenericFunctionCallbackHandler(callbackHandler: Function): void
-
Parameters
-
callbackHandler: Function
Returns void
registerGenericListenerHandler
- registerGenericListenerHandler(eventHandler: Function): void
-
Parameters
Returns void
setLastError
- setLastError(parameters: string): void
-
Parameters
Returns void
webPlatformGenericFunction
- webPlatformGenericFunction(destination: any, parameters?: undefined | string, callbackId?: undefined | number): void
-
Parameters
-
destination: any
-
Optional parameters: undefined | string
-
Optional callbackId: undefined | number
Returns void