UNPKG

@dderevjanik/termux-api

Version:

This library allows you to interact with your Android device from Node.js using termux-api

19 lines (18 loc) 401 B
export interface Contact { /** * The name of the contact * @example "John Doe" */ name: string; /** * The number of the contact * @example "+421910123456" or "0910123456" or "4ka" */ number: string; } /** * List all contacts * * **Requires permission:** `android.permission.READ_CONTACTS` */ export declare function contactList(): Promise<Contact[]>;