Overwolf.media
Overwolf.media represents Overwolf’s media elements, like: screen capture, video recording features and social network integration.
Properties
| Property | Type | Description |
|---|---|---|
|
.lastScreenshotSuccessStatus
|
The lastScreenshotSuccessStatus property returns whether the last screenshot was successful. | |
|
.lastScreenshotUrl
|
The lastScreenshotUrl property returns the last screenshot’s jpeg photo url. |
Methods
| Method | Returns | Description |
|---|---|---|
|
.shareImage(image, description)
|
Opens the social network sharing console, to allow the user to share a picture.
|
|
|
.takeScreenshot()
|
Takes a screenshot of the current game screen or desktop.
|
Events
| Event | Description |
|---|---|
|
.onScreenshotTaken()
|
Occurs when a screenshot has been taken by Overwolf. Triggered by the takeScreenshot method.
|
