Files
tk-ws-scrcpy/typings/appium-xcuitest-driver/build/lib/device-connections-factory.d.ts
2025-07-30 13:39:32 +08:00

14 lines
545 B
TypeScript

declare class DeviceConnectionsFactory {
listConnections (udid?: string | null, port?: string | null, strict?: boolean): string[];
requestConnection(
udid: string,
port: number,
options: { usePortForwarding?: boolean; devicePort?: number },
): Promise<void>;
releaseConnection(udid: string | null, port: number | null): void;
}
declare const DEVICE_CONNECTIONS_FACTORY: DeviceConnectionsFactory;
export { DEVICE_CONNECTIONS_FACTORY, DeviceConnectionsFactory };
export default DEVICE_CONNECTIONS_FACTORY;