# startCapture
Description
Start sharing content (a monitor or an app window).
void startCapture(int iCaptureId)
Parameters
| Name | Description |
|---|---|
| iCaptureId | The unique identifier of a capture source (one of the connected monitors, or Id of the app windows). Monitors have indexes starting from 1, and app windows handles you can get from the DSCaptureList in the getHardware method |
Response example
{
"method" : "startCapture",
"requestId" : "1",
"result" : true
}
Response Parameters
| Name | Description |
|---|---|
| requestId | A unique request identifier |
| result | A flag indicating whether the request was successful |
See also