UNPKG

heos-api

Version:

🎵 A zero-dependency low level api-wrapper for communicating with HEOS devices 🎵

8 lines (7 loc) • 516 B
import { HeosConnection } from './heosConnection'; /** * Establishes a connection with a HEOS device. Use this function when you know the address of a HEOS device. It is recommended to use `hoes.discoverOneDevice()` to find an address. * @param address The address of the host (HEOS device) to create a connection to. * @returns A promise that resolves with a HeosConnection that can be used to communicate with a HEOS device. */ export declare function connect(address: string): Promise<HeosConnection>;