Updated on 2025-02-11 GMT+08:00

API Overview

Table 1 describes the KooPhone APIs.

Table 1 KooPhone APIs

Type

Description

Executing a Synchronization CommandExecuting a Synchronization Command

Specify a cloud phone instance to synchronously execute Android Debug Bridge (adb) shell commands.

Executing an Asynchronization CommandExecuting an Asynchronization Command

Specify a cloud phone instance to asynchronously execute adb shell commands.

Querying Instance Execution TasksQuerying Instance Execution Tasks

Query the execution result after an adb shell command is asynchronously executed.

Instance Video Settings

Set the stream resolution, bit rate, network format, and frames per second (FPS).

Querying Instance Status in Batches

Query the status of specified cloud phone instances.

Resetting Instances in Batches

Reset specified cloud phone instances.

Obtaining device_token Before Streaming

Obtain device_token of a cloud phone instance as the authentication information and carry device_id of the cloud phone instance to call the signaling address (signaling_url) in reverse parameters.