appium-android-driver
Version:
Android UiAutomator and Chrome support for Appium
13 lines • 629 B
TypeScript
import type { AndroidDriver } from '../driver';
import type { NfcAction } from './types';
/**
* Performs the requested action on the default NFC adapter
*
* @param action The action to perform: 'enable' or 'disable'.
* @returns Promise that resolves when the action is completed.
* @throws {Error} If the device under test has no default NFC adapter
* or there was a failure while performing the action.
* @throws {errors.InvalidArgumentError} If the action is not one of the supported actions.
*/
export declare function mobileNfc(this: AndroidDriver, action: NfcAction): Promise<void>;
//# sourceMappingURL=nfc.d.ts.map