isP2PActiveSync(params: Object)
Requires:
P2PKit≥2.0.3@ray-js/ray≥1.3.15
Platforms:
iOSAndroid
Description
check P2P status
Parameters
| Property | Type | Required | Default | Description | P2PKit Since |
|---|---|---|---|---|---|
deviceId | string | Yes | - | Device ID | v2.0.0 |
mode | number | No | 0 | Connection mode, 0: INTERNET 1: LAN | v2.0.0 |
timeout | number | No | 0 | Timeout (ms). Defaults: INTERNET 15000 ms, LAN 3000 ms | v2.0.0 |
Return Value
None