overwolf.extensions.sharedData API
A set of APIs to allow independent extensions to communicate with each other.
Methods Reference
Events Reference
Types Reference
- overwolf.extensions.sharedData.SharedDataParams Object
- GetResult Object
- onChangedEvent Object
set(string appId, object value, callback)
Version added: 0.137
Used by the owner app to set data for the consumer app, by appId.
This function is one part of the service providing app to communicate with the consumer apps. for instance, Game Summary hosts GPO app in a tab. Game Summary is the owner, GPO is the cosumer.
| Parameter | Type | Description |
|---|---|---|
| appId | string | The requested app id |
| value | object | |
| callback | (Result: GetResult) => void | a status indicating success or failure |
get(SharedDataParams param, callback)
Version added: 0.137
Used by the consumer app to get data set by the owner app.
This function is one part of the service providing app to communicate with the consumer apps. for instance, Game Summary hosts GPO app in a tab. Game Summary is the owner, GPO is the cosumer.
| Parameter | Type | Description |
|---|---|---|
| param | SharedDataParams object | |
| callback | (Result: GetResult) => void | a status indicating success or failure |