FBXCAccessibilityElement.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * Copyright (c) 2015-present, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. */
  9. #import <XCTest/XCTest.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @protocol FBXCAccessibilityElement <NSObject>
  12. @property(readonly) id payload; // @synthesize payload=_payload;
  13. @property(readonly) int processIdentifier; // @synthesize processIdentifier=_processIdentifier;
  14. @property(readonly) const struct __AXUIElement *AXUIElement; // @synthesize AXUIElement=_axElement;
  15. @property(readonly, getter=isNative) BOOL native;
  16. + (id)elementWithAXUIElement:(struct __AXUIElement *)arg1;
  17. + (id)elementWithProcessIdentifier:(int)arg1;
  18. + (id)deviceElement;
  19. + (id)mockElementWithProcessIdentifier:(int)arg1 payload:(id)arg2;
  20. + (id)mockElementWithProcessIdentifier:(int)arg1;
  21. - (id)initWithMockProcessIdentifier:(int)arg1 payload:(id)arg2;
  22. - (id)initWithAXUIElement:(struct __AXUIElement *)arg1;
  23. - (id)init;
  24. @end
  25. BOOL FBIsAXElementEqualToOther(id<FBXCAccessibilityElement> first, id<FBXCAccessibilityElement> second);
  26. NS_ASSUME_NONNULL_END