UNPKG

io.appium.settings

Version:
46 lines 1.21 kB
import type { SettingsApp } from '../client'; import type { SmsListOptions, SmsListResult } from './types'; /** * Retrieves the list of the most recent SMS * properties list via Appium Settings helper. * Messages are sorted by date in descending order. * * The example output is: * ```json * { * "items":[ * { * "id":"2", * "address":"+123456789", * "person":null, * "date":"1581936422203", * "read":"0", * "status":"-1", * "type":"1", * "subject":null, * "body":"\"text message2\"", * "serviceCenter":null * }, * { * "id":"1", * "address":"+123456789", * "person":null, * "date":"1581936382740", * "read":"0", * "status":"-1", * "type":"1", * "subject":null, * "body":"\"text message\"", * "serviceCenter":null * } * ], * "total":2 * } * ``` * * @param opts Options for retrieving SMS list * @returns The SMS list result * @throws {Error} If there was an error while getting the SMS list */ export declare function getSmsList(this: SettingsApp, opts?: SmsListOptions): Promise<SmsListResult>; //# sourceMappingURL=sms.d.ts.map