Skip to main content

AccessibilitySettings class

A class that is used to set up accessibility validation.

Import statement

@import EyesXCUI

initWithLevel method

Syntax

Call syntax

AccessibilitySettings* obj = [[AccessibilitySettings alloc] initWithLevel  : level guidelinesVersion: guidelinesVersion   ];

Declaration

(instancetype)initWithLevel:(AccessibilityLevel)level guidelinesVersion:(AccessibilityGuidelinesVersion)guidelinesVersion

Parameters

level

Type: AccessibilityLevel

The required accessibility level.

guidelinesVersion

Type: AccessibilityGuidelinesVersion

The required accessibility guide version.

Return value

Type: AccessibilitySettings*

guidelinesVersion property

Syntax

Call syntax

AccessibilityGuidelinesVersion value; // give relevant initial value
obj.guidelinesVersion = value
value = obj.guidelinesVersion

Declaration

 (assign, nonatomic) AccessibilityGuidelinesVersion guidelinesVersion

Type: AccessibilityGuidelinesVersion

The accessibility guide version.

level property

Syntax

Call syntax

AccessibilityLevel value; // give relevant initial value
obj.level = value
value = obj.level

Declaration

 (assign, nonatomic) AccessibilityLevel level

Type: AccessibilityLevel

The accessibility level.