Set Network Type
FreshSet the network type for cloud phones (Wi-Fi or Mobile).
URL: https://openapi.geelark.com/open/v1/phone/netTypeMethod: POST
INFO
Only supported on Android 12, Android 13, and Android 15.
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| ids | Yes | array[string] | Cloud phone IDs |
| netType | Yes | integer | 0=Wi-Fi, 1=Mobile |
Request Example
json
{
"ids": ["528086321789535232"],
"netType": 1
}Response Example
json
{
"traceId": "123456ABCDEF",
"code": 0,
"msg": "success",
"data": {
"totalAmount": 1,
"successAmount": 1,
"failAmount": 0
}
}Error Codes
| Code | Description |
|---|---|
| 42001 | Cloud phone does not exist |
| 42002 | Cloud phone is not in running state |