Skip to main content

Variable: AppiumAppState

const AppiumAppState: object;

Defined in: packages/core/src/enums/appium-app-state.ts:16

Type Declaration​

NOT_INSTALLED​

NOT_INSTALLED: number = 0;

NOT_RUNNING​

NOT_RUNNING: number = 1;

props​

props: object;

props.0​

0: object;

props.0.code​

code: string = 'NOT_INSTALLED';

props.0.desc​

desc: string = 'The current application state cannot be determined/is unknown';

props.0.value​

value: number = 0;

props.1​

1: object;

props.1.code​

code: string = 'NOT_RUNNING';

props.1.desc​

desc: string = 'The application is not running';

props.1.value​

value: number = 1;

props.2​

2: object;

props.2.code​

code: string = 'SUSPENDED';

props.2.desc​

desc: string = 'The application is running in the background and is suspended';

props.2.value​

value: number = 2;

props.3​

3: object;

props.3.code​

code: string = 'RUNNING_IN_BACKGROUND';

props.3.desc​

desc: string = 'The application is running in the background and is not suspended';

props.3.value​

value: number = 3;

props.4​

4: object;

props.4.code​

code: string = 'RUNNING_IN_FOREGROUND';

props.4.desc​

desc: string = 'The application is running in the foreground';

props.4.value​

value: number = 4;

RUNNING_IN_BACKGROUND​

RUNNING_IN_BACKGROUND: number = 3;

RUNNING_IN_FOREGROUND​

RUNNING_IN_FOREGROUND: number = 4;

SUSPENDED​

SUSPENDED: number = 2;