• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2025 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16package OHOS.Accessibility;
17
18struct RegistrationPara {
19    int windowId;
20    int parentWindowId;
21    int parentTreeId;
22    long elementId;
23};
24
25struct AccessibilityConfigData {
26    boolean highContrastText_;
27    boolean invertColor_;
28    boolean animationOff_;
29    boolean audioMono_;
30    boolean mouseKey_;
31    boolean captionState_;
32    boolean screenMagnifier_;
33    boolean shortkey_;
34    int mouseAutoClick_;
35    boolean daltonizationState_;
36    unsigned int daltonizationColorFilter_;
37    unsigned int contentTimeout_;
38    float brightnessDiscount_;
39    float audioBalance_;
40    String shortkeyTarget_;
41    unsigned int clickResponseTime_;
42    boolean ignoreRepeatClickState_;
43    unsigned int ignoreRepeatClickTime_;
44    String[] shortkeyMultiTarget_;
45};